NAV Navbar
cURL
  • Introduction
  • Getting Started
  • Cricket API V2
  • Cricket Reference
  • Soccer API
  • Basketball API
  • Kabaddi API
  • Hockey API
  • Baseball API
  • Introduction

    Entity Sports application programming interfaces (API) give you access to our sports data. You can use our Entity Sports API to build web and mobile sports application. Either it's fantasy sports or live score our data full fills requirements for all type of applications.

    Entity Sports API deliver season, competition, teams, matches, player, statistical data for Cricket and Soccer.Since the API is true to RESTful principles, it’s easy to interact with using any tool capable of performing https requests, such as Postman or cURL.

    To allow you to interact securely with our API from a client-side web application (though you should remember that you should never expose your API keys in any public website's client-side code). JSON will be returned in all responses from the API, including errors.

    Getting Started

    Getting your Keys

    You will need an active access key and secret key with a valid subsciption to start using our API. Please visit entitysport.com to request your keys and subscription.

    Obtaining Token

    To authorize, use this code:

    curl -X POST "https://rest.entitysport.com/v2/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY&extend=1"
    

    Authentication request without extend parameter

    curl -X POST "https://rest.entitysport.com/v2/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY"
    
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "token": "1|X#aFhlzAsd",
            "expires": "12312312312",
        },
        "api_version": "2.0"
    }
    
    

    To access any API, you need a token. A token can be generated using your keys. Token is a piece of information that would allow you to access our API data for a short period of time (expire time). Auth API provides you the token, by validating your keys. Request to our Auth API whenever the access token is expired or unavailable.

    Request

    Response

    Making your First Request

    curl -X GET "https://rest.entitysport.com/v2/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "api_doc": "https://doc.entitysport.com/",
            "status_codes": {
                "ok": "Success",
                "error": "Failure",
                "invalid": "Invalid Request",
                "unauthorized": "Un authorized",
                "noaccess": "No access to requested resource"
            }
        },
        "api_version": "2.0"
    }
    
    

    It's very easy to start using the EntitySport Cricket API. By passing your token as token to our api server, you can get access to our API data instantly.

    https Request

    GET https://rest.entitysport.com/v2/?token=[ACCESS_TOKEN]

    https Status Code

    All API request will resolve with any of the following https header status.

    Response Code Description
    200 API request valid, informations ready to access
    304 API request valid, but data was not modified since last accessed (compared using Etag)
    400 Client side error. occurs for invalid request
    401 occurs for unauthorized request
    501 Server side error. Internal server error, unable to process your request

    API Response

    
    {
        "status": "ok",
        "response": {},
        "etag": "8fc93de066d8d802a36e0882ecc77fdb",
        "modified": "2017-01-31 16:29:11",
        "datetime": "2017-01-31 16:29:11",
        "api_version": "2.0"
    }
    
    

    All successfull API request will return json output. The basic structure of data is available on all of the calls.

    Status - Possible Values are as follows :

    Status Description
    ok A successfull response
    error if the request contains error
    unauthorized if the request is not authorized, usually for invalid/expired access token
    accessdenied if your app try to access non permitted data

    Pagination

    Parameter Value Description
    per_page Number Number of items to list in each API request
    paged Number Page Number for request

    API Objects

    There are some informations that we call as OBJECT. A response can contain a single object, or multiple objects or no objects at all. It is important get famililar with our objects.

    We have 7 Obejcts in total. A object is a set of data, which contains a unique identifier, and directly relates to other objects. ie: match object connects inning object, team object.

    Each object has a unique identifier which start with the first character of object name, and id as suffix. ie: competition unique identified named as cid, for match it's mid, for player it's pid, for team, it's tid and for season - sid.

    Cricket API V2

    Seasons API

    curl -X GET "https://rest.entitysport.com/v2/seasons/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "seasons": [
                {
                    "sid": "201617",
                    "name": "2016-17",
                    "competitions_url": "/v2/seasons/201617/competitions"
                }
            ]
        }
    }
    
    

    Provides information of all avaialable cricket seasons you have access. A season is named as complete year ie: 2016 for all tournaments that happens between march to october of the correspoding year, or name cross year ie: 2016-17 for matches happens between November-February or vice versa.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    {
        "sid": "201617",
        "name": "2016-17",
        "competitions_url": "/v2/seasons/201617/competitions"
    }
    
    Parameter Value Description
    sid integer season id
    name string season representational name
    competitions_url string API URL address for competitions played on the season

    Season Competitions API

    curl -X GET "https://rest.entitysport.com/v2/seasons/{sid}/competitions?token=[ACCESS_TOKEN]&per_page=10&&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": 90088,
                    "title": "Hong Kong in Scotland ODI Series",
                    "abbr": "hkisos-16",
                    "season": "2016",
                    "datestart": "2016-09-08",
                    "dateend": "2016-09-10",
                    "total_matches": "2",
                    "total_rounds": "1",
                    "total_teams": "2",
                    "category": "international",
                    "match_format": "odi",
                    "status": "result",
                    "country": "int",
                    "type": "series",
                    "matches_url": "competitions/90088/matches",
                    "teams_url": "competitions/90088/teams",
                    "standings_url": "competitions/90088/standings",
                    "rounds": [
                        {
                            "rid": 90089,
                            "order": 1,
                            "name": "Hong Kong in Scotland ODI Series",
                            "datestart": "2016-09-08",
                            "dateend": "2016-09-10",
                            "matches_url": "round/90089/matches",
                            "teams_url": "round/90089/teams"
                        }
                    ]
                }
            ],
            "total_items": 38,
            "total_pages": 38
        },
        "etag": "4bc9f9a0b8a89377c321f4373e728aa4",
        "modified": "2017-08-28 23:58:54",
        "datetime": "2017-08-28 23:58:54",
        "api_version": "2.0"
    }
    
    

    This will list all available competitions those you are subscribed and can access for specified season. Season is named using 4 digit year, ex: 2010, or Year combo, ex: 2010-11.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    country string Country ISO Code
    type string competition type, possible values are tour, tournament, series
    matches_url string api url for matches data
    teams_url string api url for teams data
    standings_url string api url for standings data
    rounds array an array of rounds played in the competition, see round object reference.

    Round Properties

    Parameter Value Description
    rid integer round id
    order integer round sort order
    name string Round name/title
    datestart date round first match date
    dateend date round last match date
    matches_url string api url for matches data
    teams_url string api url for teams data

    Competitions List API

    curl -X GET "https://rest.entitysport.com/v2/competitions?token=[ACCESS_TOKEN]&per_page=10&&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": 1539,
                    "title": "Asia Cup",
                    "abbr": "asia-cup-2015-16",
                    "season": "2016",
                    "datestart": "2016-02-19",
                    "dateend": "2016-03-06",
                    "total_matches": "17",
                    "total_rounds": "2",
                    "total_teams": "8",
                    "category": "international",
                    "game_format": "t20i",
                    "status": "result",
                    "country": "int"
                }
            ],
            "total_items": "255",
            "total_pages": 255
        },
        "etag": "9763c1bf380374cdda92fde6ad131cdb",
        "modified": "2018-11-21 09:02:35",
        "datetime": "2018-11-21 09:02:35",
        "api_version": "2.0"
    }
    
    

    This will list all available competitions those you are subscribed.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    status string status=fixture for upcoming competitions, status=result for completed competitions, status=live for live competitions
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    category string competition category, possible values are international, domestic, youth, women
    game_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    country string Country ISO Code

    Competitions Overview API

    curl -X GET "https://rest.entitysport.com/v2/competitions/91396?token=[ACCESS_TOKEN]"
    
    curl -X GET "https://rest.entitysport.com/v2/competitions?yearmonth=2018-02(yyyy-mm)&paged=1&per_page=50&token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "cid": 91396,
            "title": "Caribbean Premier League",
            "abbr": "caribbean-premier-league-2017",
            "category": "domestic",
            "game_format": "t20",
            "status": "live",
            "season": "2017",
            "datestart": "2017-08-04",
            "dateend": "2017-09-09",
            "total_matches": "34",
            "total_rounds": "1",
            "total_teams": "6",
            "squad_type": "per_match",
            "country": "wi",
            "table": "1",
            "rounds": [
                {
                    "rid": 104883,
                    "order": 1,
                    "name": "Group Stage",
                    "type": "group",
                    "match_format": "t20",
                    "datestart": "2017-08-05",
                    "dateend": "2017-09-04"
                }
            ]
        },
        "etag": "47ad73992b654633b91a3d324702935b",
        "modified": "2017-09-05 09:50:54",
        "datetime": "2017-09-05 20:48:39",
        "api_version": "2.0"
    }
    

    Competition Object Overview API.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    yearmonth string parameter to list competitions from specific month. example - 2018-02(yyyy-mm)
    per_page Number Number of matches to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    category string competition category, possible values are international, domestic, youth, women
    game_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    squad_type string per_match - used for international tours where squad of teams are changes for formats and matches, per_team - used for tournaments where squads of teams remains same and don't change with matches.
    country string Country ISO Code
    table integer total number of standing tables
    rounds array an array of rounds played in the competition, see round object reference.

    Round Properties

    Parameter Value Description
    rid integer round id
    order integer round sort order
    name string Round name/title
    type string round type group, konckout stage, series
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    datestart date round first match date
    dateend date round last match date

    Competition Matches API

    curl -X GET "https://rest.entitysport.com/v2/competitions/{cid}/matches/?token=[ACCESS_TOKEN]&per_page=10&&paged=1"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "match_id": 17979,
                    "title": "Scotland vs Hong Kong",
                    "subtitle": "1st ODI",
                    "format": 1,
                    "format_str": "ODI",
                    "status": 2,
                    "status_str": "Completed",
                    "status_note": "No result",
                    "verified": "true",
                    "pre_squad": "true",
                    "game_state": 0,
                    "game_state_str": "Default",
                    "domestic": "0",
                    "competition": {
                        "cid": 90088,
                        "title": "Hong Kong in Scotland ODI Series",
                        "abbr": "hkisos-16",
                        "season": "2016",
                        "datestart": "2016-09-08",
                        "dateend": "2016-09-10",
                        "total_matches": "2",
                        "total_rounds": "1",
                        "total_teams": "2",
                        "category": "international",
                        "match_format": "odi",
                        "status": "result",
                        "country": "int",
                        "type": "series"
                    },
                    "teama": {
                        "team_id": 9,
                        "name": "Scotland",
                        "short_name": "SCOT",
                        "logo_url": "../assets/uploads/2016/01/scotland-120x80.png",
                        "scores_full": "153/6 (20 ov)",
                        "scores": "153/6",
                        "overs": "20"
                    },
                    "teamb": {
                        "team_id": 1544,
                        "name": "Hong Kong",
                        "short_name": "HKG",
                        "logo_url": "",
                        "scores_full": "136/4 (18 ov)",
                        "scores": "136/4",
                        "overs": "18"
                    },
                    "date_start": "2016-09-08 09:45:00",
                    "date_end": "2016-09-08 19:45:00",
                    "timestamp_start": 1473327900,
                    "timestamp_end": 1473363900,
                    "venue": {
                        "name": "Grange Cricket Club, Raeburn Place",
                        "location": "Edinburgh",
                        "timezone": "1"
                    },
                    "umpires": "Gregory Brathwaite (West Indies), Ian Ramage (Scotland)",
                    "referee": "David Jukes (England)",
                    "equation": "No result",
                    "live": "",
                    "result": "No result",
                    "win_margin": "",
                    "commentary": 1,
                    "wagon": 1,
                    "latest_inning_number": 2,
                    "toss": {
                        "text": "Hong Kong won the toss & elected to field",
                        "winner": 1544,
                        "decision": 2
                    }
                }
            ],
            "total_items": "2",
            "total_pages": 2
        },
        "etag": "1dec30e4b134b76692ca7446caf98d57",
        "modified": "2017-08-29 00:40:14",
        "datetime": "2017-08-29 00:40:14",
        "api_version": "2.0"
    }
    
    

    A competition is a tour that one country takes on to another country, or a local & international league.

    A competition contains playing teams, match schedules, results, team performance & player performance statistical information.

    Competition matches node lists all of the scheduled,played,live matches for the specified competition.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of matches to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    match_id interger match id
    title string match name/title
    subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
    format interger numerical representation of match format. see match_formats reference.See Cricket Reference
    format_str string match format name
    status string numerical representation of match status. see match_statuss reference.See Cricket Reference
    status_str string match status name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
    pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
    game_state string numerical representation of match game_state. game state is available for live match only. See Cricket Reference
    game_state_str string match game_state name.
    competition array an array of parent competition details of the match, see competition object properties.
    team array an array of teams participating in the match, see team match properties.
    date_start date match start date in in GMT(UTC +0)
    date_end date match end date in GMT(UTC +0)
    timestamp_start integer match start timestamp in GMT(UTC +0).
    timestamp_end integer match end timestamp in GMT(UTC +0).
    venue array an array of venue details of the match, see venue object properties.
    umpires string umpires of the match.
    referee string referee of the match.
    equation string match result condition.
    live string live match status note.
    win_margin string match win margin.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    latest_inning_number interger latest or active innings number.
    toss array an array of toss details of the match, see toss object properties.

    Competition Properties

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20 See Cricket Reference
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed) See Cricket Reference
    country string Country ISO Code
    type string competition type, possible values are tour, tournament, series

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    logo_url string team logo url
    scores_full string team full score
    scores string team score
    overs string overs played by team

    Venue Properties

    Parameter Value Description
    name string Venue name/title
    location string City Name
    timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

    Toss Properties

    Parameter Value Description
    text string Toss result text with team name
    winner integer team id of toss winning team
    decision integer numerical representation of decision made by toss winning team.

    Competition Teams API

    curl -X GET "https://rest.entitysport.com/v2/competitions/{cid}/teams/?token=[ACCESS_TOKEN]
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "teams": [
                {
                    "tid": 9,
                    "title": "Scotland",
                    "abbr": "SCOT",
                    "thumb_url": "../assets/uploads/2016/01/scotland-120x80.png",
                    "logo_url": "../assets/uploads/2016/01/scotland-32x32.png",
                    "type": "country",
                    "country": "sct",
                    "alt_name": "Scotland"
                },
                {
                    "tid": 1544,
                    "title": "Hong Kong",
                    "abbr": "HKG",
                    "thumb_url": "",
                    "logo_url": "../assets/uploads/2016/02/hong-kong-32x32.png",
                    "type": "country",
                    "country": "hk",
                    "alt_name": "Hong Kong"
                }
            ],
            "total_teams": 2
        },
        "etag": "6520d4b995db86e711a7d299cfaf94c4",
        "modified": "2017-08-29 01:40:48",
        "datetime": "2017-08-29 01:40:48",
        "api_version": "2.0"
    }
    

    Competition teams API provides information of all playing participating teams in competition.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    type string team type Country(International Team) or Club
    country string Country ISO Code
    alt_name string team alternative name
    players array an array of player details of the team, see player object properties.

    Player Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match

    Competition Squads API

    curl -X GET "https://rest.entitysport.com/v2/competitions/cid/squads/?token=[ACCESS_TOKEN]
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "squad_type": "per_match",
            "squads": [
                {
                    "team_id": "25",
                    "title": "India 1st Test, 2nd Test",
                    "mid": "39158,39159",
                    "gmdate": "2018-10-04",
                    "players": [
                        {
                            "pid": 119,
                            "title": "Virat Kohli",
                            "short_name": "V Kohli",
                            "first_name": "Virat",
                            "last_name": "Kohli",
                            "middle_name": "",
                            "birthdate": "1988-11-05",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm medium",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 11
                        },
                        {
                            "pid": 125,
                            "title": "Ravindra Jadeja",
                            "short_name": "RA Jadeja",
                            "first_name": "Ravindrasinh",
                            "last_name": "Jadeja",
                            "middle_name": "Anirudhsinh",
                            "birthdate": "1988-12-06",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "all",
                            "batting_style": "LHB",
                            "bowling_style": "Slow left-arm orthodox",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 8.5
                        }
                    ],
                    "team": {
                        "tid": 25,
                        "title": "India",
                        "abbr": "INDIA",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                        "type": "country",
                        "country": "in",
                        "alt_name": "India"
                    }
                },
                {
                    "team_id": "25",
                    "title": "India 1st ODI, 2nd ODI",
                    "mid": "39160,39161",
                    "gmdate": "2018-10-21",
                    "players": [
                        {
                            "pid": 115,
                            "title": "Rohit Sharma",
                            "short_name": "RG Sharma",
                            "first_name": "Rohit",
                            "last_name": "Sharma",
                            "middle_name": "Gurunath",
                            "birthdate": "1987-04-30",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 10
                        },
                        {
                            "pid": 117,
                            "title": "Shikhar Dhawan",
                            "short_name": "S Dhawan",
                            "first_name": "Shikhar",
                            "last_name": "Dhawan",
                            "middle_name": "",
                            "birthdate": "1985-12-05",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "LHB",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9.5
                        }
                    ],
                    "team": {
                        "tid": 25,
                        "title": "India",
                        "abbr": "INDIA",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                        "type": "country",
                        "country": "in",
                        "alt_name": "India"
                    }
                },
                {
                    "team_id": "25",
                    "title": "India 3rd ODI, 4th ODI, 5th ODI",
                    "mid": "39162,39163,39164",
                    "gmdate": "2018-10-27",
                    "players": [
                        {
                            "pid": 115,
                            "title": "Rohit Sharma",
                            "short_name": "RG Sharma",
                            "first_name": "Rohit",
                            "last_name": "Sharma",
                            "middle_name": "Gurunath",
                            "birthdate": "1987-04-30",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 10
                        },
                        {
                            "pid": 117,
                            "title": "Shikhar Dhawan",
                            "short_name": "S Dhawan",
                            "first_name": "Shikhar",
                            "last_name": "Dhawan",
                            "middle_name": "",
                            "birthdate": "1985-12-05",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "LHB",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9.5
                        }
                    ],
                    "team": {
                        "tid": 25,
                        "title": "India",
                        "abbr": "INDIA",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                        "type": "country",
                        "country": "in",
                        "alt_name": "India"
                    }
                },
                {
                    "team_id": "25",
                    "title": "India 1st T20I, 2nd T20I, 3rd T20I",
                    "mid": "39165,39166,39167",
                    "gmdate": "2018-11-04",
                    "players": [
                        {
                            "pid": 115,
                            "title": "Rohit Sharma",
                            "short_name": "RG Sharma",
                            "first_name": "Rohit",
                            "last_name": "Sharma",
                            "middle_name": "Gurunath",
                            "birthdate": "1987-04-30",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 10
                        },
                        {
                            "pid": 117,
                            "title": "Shikhar Dhawan",
                            "short_name": "S Dhawan",
                            "first_name": "Shikhar",
                            "last_name": "Dhawan",
                            "middle_name": "",
                            "birthdate": "1985-12-05",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "LHB",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9.5
                        }
                    ],
                    "team": {
                        "tid": 25,
                        "title": "India",
                        "abbr": "INDIA",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                        "type": "country",
                        "country": "in",
                        "alt_name": "India"
                    }
                },
                {
                    "team_id": "17",
                    "title": "West Indies 1st Test, 2nd Test",
                    "mid": "39158,39159",
                    "gmdate": "2018-10-04",
                    "players": [
                        {
                            "pid": 271,
                            "title": "Jason Holder",
                            "short_name": "JO Holder",
                            "first_name": "Jason",
                            "last_name": "Holder",
                            "middle_name": "Omar",
                            "birthdate": "1991-11-05",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "all",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm medium-fast",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9
                        },
                        {
                            "pid": 273,
                            "title": "Kemar Roach",
                            "short_name": "KAJ Roach",
                            "first_name": "Kemar",
                            "last_name": "Roach",
                            "middle_name": "Andre Jamal",
                            "birthdate": "1988-06-30",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bowl",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm fast",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 8.5
                        }
                    ],
                    "team": {
                        "tid": 17,
                        "title": "West Indies",
                        "abbr": "WI",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                        "type": "country",
                        "country": "wi",
                        "alt_name": "West Indies"
                    }
                },
                {
                    "team_id": "17",
                    "title": "West Indies 1st ODI",
                    "mid": "39160",
                    "gmdate": "2018-10-21",
                    "players": [
                        {
                            "pid": 251,
                            "title": "Marlon Samuels",
                            "short_name": "MN Samuels",
                            "first_name": "Marlon",
                            "last_name": "Samuels",
                            "middle_name": "Nathaniel",
                            "birthdate": "1981-02-05",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9
                        },
                        {
                            "pid": 271,
                            "title": "Jason Holder",
                            "short_name": "JO Holder",
                            "first_name": "Jason",
                            "last_name": "Holder",
                            "middle_name": "Omar",
                            "birthdate": "1991-11-05",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "all",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm medium-fast",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9
                        }
                    ],
                    "team": {
                        "tid": 17,
                        "title": "West Indies",
                        "abbr": "WI",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                        "type": "country",
                        "country": "wi",
                        "alt_name": "West Indies"
                    }
                },
                {
                    "team_id": "17",
                    "title": "West Indies 2nd ODI",
                    "mid": "39161",
                    "gmdate": "2018-10-24",
                    "players": [
                        {
                            "pid": 251,
                            "title": "Marlon Samuels",
                            "short_name": "MN Samuels",
                            "first_name": "Marlon",
                            "last_name": "Samuels",
                            "middle_name": "Nathaniel",
                            "birthdate": "1981-02-05",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9
                        },
                        {
                            "pid": 271,
                            "title": "Jason Holder",
                            "short_name": "JO Holder",
                            "first_name": "Jason",
                            "last_name": "Holder",
                            "middle_name": "Omar",
                            "birthdate": "1991-11-05",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "all",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm medium-fast",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9
                        }
                    ],
                    "team": {
                        "tid": 17,
                        "title": "West Indies",
                        "abbr": "WI",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                        "type": "country",
                        "country": "wi",
                        "alt_name": "West Indies"
                    }
                },
                {
                    "team_id": "17",
                    "title": "West Indies 3rd ODI, 4th ODI, 5th ODI",
                    "mid": "39162,39163,39164",
                    "gmdate": "2018-10-27",
                    "players": [
                        {
                            "pid": 251,
                            "title": "Marlon Samuels",
                            "short_name": "MN Samuels",
                            "first_name": "Marlon",
                            "last_name": "Samuels",
                            "middle_name": "Nathaniel",
                            "birthdate": "1981-02-05",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9
                        }
                    ],
                    "team": {
                        "tid": 17,
                        "title": "West Indies",
                        "abbr": "WI",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                        "type": "country",
                        "country": "wi",
                        "alt_name": "West Indies"
                    }
                },
                {
                    "team_id": "17",
                    "title": "West Indies 1st T20I, 2nd T20I, 3rd T20I",
                    "mid": "39165,39166,39167",
                    "gmdate": "2018-11-04",
                    "players": [
                        {
                            "pid": 249,
                            "title": "Darren Bravo",
                            "short_name": "DM Bravo",
                            "first_name": "Darren",
                            "last_name": "Bravo",
                            "middle_name": "Michael",
                            "birthdate": "1989-02-06",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "LHB",
                            "bowling_style": "Right-arm medium-fast",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 9
                        },
                        {
                            "pid": 253,
                            "title": "Denesh Ramdin",
                            "short_name": "D Ramdin",
                            "first_name": "Denesh",
                            "last_name": "Ramdin",
                            "middle_name": "",
                            "birthdate": "1985-03-13",
                            "birthplace": "",
                            "country": "wi",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "wkbat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 8.5
                        }
                    ],
                    "team": {
                        "tid": 17,
                        "title": "West Indies",
                        "abbr": "WI",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                        "type": "country",
                        "country": "wi",
                        "alt_name": "West Indies"
                    }
                }
            ]
        },
        "etag": "835bdb4a941b75761fe47231ac5109f1",
        "modified": "2018-10-30 15:03:12",
        "datetime": "2018-10-30 15:03:12",
        "api_version": "2.0"
    }
    

    Competition Squads API provides information of player roaster of participating teams in competition.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    team_id integer team id of respective team squad
    title string Team matches title
    mid string match id for respective team squad, mid will be empty for squad_type: per_team.
    alt_name string team alternative name
    players array an array of player details of the team, see player object properties.
    team array an array of team details, see team object properties.

    Team Properties

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    type string team type Country(International Team) or Club
    country string Country ISO Code
    alt_name string team alternative name

    Player Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating

    Competition Standings API

    curl -X GET "https://rest.entitysport.com/v2/competitions/4904/standings/?token=[ACCESS_TOKEN]
    

    The above command returns JSON structured like this:

    {
      "status": "ok",
      "response": {
        "standing_type": "per_round",
        "standings": [
          {
            "round": {
              "rid": 90820,
              "order": 1,
              "name": "IPL T20 2017",
              "type": "group",
              "datestart": "2017-04-05",
              "dateend": "2017-05-14",
              "match_format": "t20"
            },
            "standings": [
              {
                "team_id": "593",
                "played": 14,
                "win": 10,
                "draw": 0,
                "loss": 4,
                "nr": 0,
                "overfor": "272.1",
                "runfor": 2407,
                "overagainst": "278.1",
                "runagainst": 2242,
                "netrr": "0.784",
                "points": 20,
                "team": {
                  "tid": 593,
                  "title": "Mumbai Indians",
                  "abbr": "MI",
                  "thumb_url": "../assets/uploads/2016/04/MI.png",
                  "logo_url": "../assets/uploads/2016/04/MI-32x32.png",
                  "alt_name": "Mum Indians",
                  "type": "club",
                  "country": "in"
                }
              },
            ]
          }
        ]
      },
    }
    

    Competition standings node provides standing table for all of the round or groups for the specified competition.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    standing_type string completed or per_round standing type
    standings array an array of round and standing table details, see round properties, see standing properties.

    Round Properties

    Parameter Value Description
    rid integer round id
    order integer round sort order
    name string Round name/title
    type string round type group,series,knockout
    datestart date round first match date
    dateend date round last match date
    match_format string matches format of this round

    Standings Properties

    Parameter Value Description
    team_id integer team id
    played integer total number of player matches by team
    win integer total number of won matches
    draw integer total number of drawn matches
    loss integer total number of lossed matches
    nr integer total number of no result matches
    overfor string total number of overs bowled by team
    runfor integer total number of runs scored by team
    overagainst string total number of overs bowled by opponent teams
    runagainst integer total number of runs scored by opponent teams
    netrr string total number of no result matches
    points integer total number of no result matches
    team array an array of team details, see team object properties.

    Team Properties

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    alt_name string team alternative name
    type string team type Country(International Team) or Club
    country string Country ISO Code

    Competition Statistic Type API

    curl -X GET "https://rest.entitysport.com/v2/competitions/90738/stats/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "formats": [
                "test",
                "odi"
            ],
            "stat_types": [
                {
                    "group_title": "Batting",
                    "types": {
                        "batting_most_runs": "Most Runs",
                        "batting_most_runs_innings": "Highest Individual Score",
                        "batting_highest_strikerate": "Highest Strike Rates",
                        "batting_highest_strikerate_innings": "Highest Strike Rates (Innings)",
                        "batting_highest_average": "Highest Average",
                        "batting_most_run100": "Most Centuries",
                        "batting_most_run50": "Most Fifties",
                        "batting_most_run6": "Most Sixes",
                        "batting_most_run6_innings": "Most Sixes (Innings)",
                        "batting_most_run4": "Most Fours",
                        "batting_most_run4_innings": "Most Fours (Innings)"
                    }
                },
                {
                    "group_title": "Bowling",
                    "types": {
                        "bowling_top_wicket_takers": "Top Wicket Takers",
                        "bowling_best_economy_rates": "Best Economy Rates",
                        "bowling_best_economy_rates_innings": "Best Economy Rates (Innings)",
                        "bowling_best_bowling_figures": "Best Bowling Figures",
                        "bowling_best_strike_rates": "Best Strike Rates",
                        "bowling_best_strike_rates_innings": "Best Strike Rates (Innings)",
                        "bowling_best_averages": "Best Averages",
                        "bowling_most_runs_conceded_innings": "Most runs conceded in an innings",
                        "bowling_four_wickets": "Four Wickets",
                        "bowling_five_wickets": "Five Wickets",
                        "bowling_maidens": "Maidens"
                    }
                },
                {
                    "group_title": "Team",
                    "types": {
                        "team_total_runs": "Total Runs",
                        "team_total_run100": "Most Centuries",
                        "team_total_run50": "Most Fifties",
                        "team_total_wickets": "Total Wickets"
                    }
                }
            ]
        },
        "etag": "fa00424b9a4256acaec3d4a77d0a6836",
        "modified": "2017-08-29 08:35:32",
        "datetime": "2017-08-29 08:35:32",
        "api_version": "2.0"
    }
    

    Competition stats provides information of players statistics and performance. As well as team wise player statistics. The root stats path provide a list of all available statistics available for the competition.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    formats string formats of matches
    stats_type array an array of batting and bowling statistic type see stats type properties

    Stats type properties

    Parameter Value Description
    group_title string statistics types of Batting, Bowling, Team
    types object A set of string objects for respective group title

    Competition Statistic API

    curl -X GET "https://rest.entitysport.com/v2/competitions/91402/stats/batting_most_runs?format=odi&token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "stats": [
                {
                    "matches": 10,
                    "innings": 10,
                    "notout": 1,
                    "runs": 382,
                    "balls": 260,
                    "highest": "92",
                    "run100": 0,
                    "run50": 3,
                    "run4": 32,
                    "run6": 19,
                    "average": "42.44",
                    "strike": "146.92",
                    "catches": 5,
                    "stumpings": 2,
                    "updated": "2017-09-04 06:54:29",
                    "team": {
                        "tid": 18245,
                        "title": "Guyana Amazon Warriors",
                        "abbr": "GAW",
                        "thumb_url": "../assets/uploads/2016/03/guyana-amazon-warriors-120x80.jpg",
                        "logo_url": "../assets/uploads/2016/03/guyana-amazon-warriors-32x32.jpg",
                        "alt_name": "Amazon",
                        "type": "club",
                        "country": "wi"
                    },
                    "player": {
                        "pid": 50098,
                        "title": "Chadwick Walton",
                        "short_name": "CAK Walton",
                        "first_name": "Chadwick",
                        "last_name": "Walton",
                        "middle_name": "Antonio Kirkpatrick",
                        "birthdate": "1985-07-03",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "../assets/uploads/2016/03/walton-120x120.jpg",
                        "logo_url": "../assets/uploads/2016/03/walton-32x32.jpg",
                        "playing_role": "wkbat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "",
                        "fielding_position": "",
                        "recent_match": 18944,
                        "recent_appearance": 1490545800
                    }
                }
            ],
            "total_items": 94,
            "total_pages": 94,
            "formats": [
                "t20"
            ],
            "stat_types": [
                {
                    "group_title": "Batting",
                    "types": {
                        "batting_most_runs": "Most Runs",
                        "batting_most_runs_innings": "Highest Individual Score",
                        "batting_highest_strikerate": "Highest Strike Rates",
                        "batting_highest_strikerate_innings": "Highest Strike Rates (Innings)",
                        "batting_highest_average": "Highest Average",
                        "batting_most_run100": "Most Centuries",
                        "batting_most_run50": "Most Fifties",
                        "batting_most_run6": "Most Sixes",
                        "batting_most_run6_innings": "Most Sixes (Innings)",
                        "batting_most_run4": "Most Fours",
                        "batting_most_run4_innings": "Most Fours (Innings)"
                    }
                },
                {
                    "group_title": "Bowling",
                    "types": {
                        "bowling_top_wicket_takers": "Top Wicket Takers",
                        "bowling_best_economy_rates": "Best Economy Rates",
                        "bowling_best_economy_rates_innings": "Best Economy Rates (Innings)",
                        "bowling_best_bowling_figures": "Best Bowling Figures",
                        "bowling_best_strike_rates": "Best Strike Rates",
                        "bowling_best_strike_rates_innings": "Best Strike Rates (Innings)",
                        "bowling_best_averages": "Best Averages",
                        "bowling_most_runs_conceded_innings": "Most runs conceded in an innings",
                        "bowling_four_wickets": "Four Wickets",
                        "bowling_five_wickets": "Five Wickets",
                        "bowling_maidens": "Maidens"
                    }
                },
                {
                    "group_title": "Team",
                    "types": {
                        "team_total_runs": "Total Runs",
                        "team_total_run100": "Most Centuries",
                        "team_total_run50": "Most Fifties",
                        "team_total_wickets": "Total Wickets"
                    }
                }
            ],
            "format": "t20",
            "teams": [
                {
                    "team_id": 18243,
                    "name": "Barbados Tridents",
                    "short_name": "BT",
                    "country_iso": "bb",
                    "type": "club",
                    "logo_url": "../assets/uploads/2016/03/barbados-tridents-32x32.jpg"
                },
                {
                    "team_id": 18245,
                    "name": "Guyana Amazon Warriors",
                    "short_name": "GAW",
                    "country_iso": "wi",
                    "type": "club",
                    "logo_url": "../assets/uploads/2016/03/guyana-amazon-warriors-32x32.jpg"
                },
                {
                    "team_id": 18248,
                    "name": "St Lucia Stars",
                    "short_name": "STARS",
                    "country_iso": "wi",
                    "type": "club",
                    "logo_url": "../assets/uploads/2016/03/st-lucia-zouks-32x32.jpg"
                },
                {
                    "team_id": 18250,
                    "name": "Trinbago Knight Riders",
                    "short_name": "TKR",
                    "country_iso": "wi",
                    "type": "club",
                    "logo_url": "../assets/uploads/2017/08/Trinbago-Knight-Riders-32x32.png"
                },
                {
                    "team_id": 18253,
                    "name": "Jamaica Tallawahs",
                    "short_name": "JT",
                    "country_iso": "wi",
                    "type": "club",
                    "logo_url": "../assets/uploads/2016/03/jamaica-tallawahs-32x32.jpg"
                },
                {
                    "team_id": 18256,
                    "name": "St Kitts and Nevis Patriots",
                    "short_name": "STKNP",
                    "country_iso": "wi",
                    "type": "club",
                    "logo_url": "../assets/uploads/2017/07/patriots_icon-32x32.png"
                }
            ]
        },
        "etag": "7ffaca10f79d987f6fc657b44d7a7afc",
        "modified": "2017-09-05 02:39:28",
        "datetime": "2017-09-05 02:39:28",
        "api_version": "2.0"
    }
    

    Provides information of a specific type of stats, ie batting_most_runs, bowling_best_averages, team_total_runs. It's root stats path provide a list of all available statistics available for the competition.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    format string format string available in competition stats type
    per_page Number Number of players to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    stats array array of batsman, bowler, team statistic data see Batting Stats properties, see Bowling Stats properties, see Team Stats properties
    total_items integer total number of elements available
    total_pages integer total number of pages with data
    formats string formats of matches
    stats_type array an array of batting and bowling statistic type see stats type properties
    format string formats of matches
    teams array an array of teams see team propeties

    Batting Stats Properties

    Parameter Value Description
    matches integer Number of matches played
    innings integer Number of innings batsman played
    notout integer Number of times batsman remained not out
    runs integer total number of runs scored by batsman in the competition
    balls integer total number of balls played by batsman
    highest integer Highest runs scored by batsman in a single inning
    run100 integer Number of times 100 or more runs scored by batsman in total innings played
    run50 integer Number of times 50 or more runs scored by batsman in total innings played
    run4 integer Total number of 4s hit by batsman in competition
    run6 integer Total number of 6s hit by batsman in competition
    average float Batsman batting average in competition
    strike float Batsman batting strike rate in competition
    catches integer Catches taken by player
    stumpings integer stumpings comepleted by player as wicketkeeper
    updated date time and date when stats updated.
    team object a set of team objects. see team properties
    player object a set of player objects. see player properties
    teams array an array of teams properties see teams properties

    Team Properties

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    alt_name string team alternative name
    type string team type Country(International Team) or Club
    country string Country ISO Code

    Player Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match

    Teams Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    country_iso string Country ISO Code
    type string team type Country(International Team) or Club
    logo_url string team logo url

    Matches List API

    curl -X GET "https://rest.entitysport.com/v2/matches/?status=2&token=[ACCESS_TOKEN]"
    
    curl -X GET "https://rest.entitysport.com/v2/matches/?status=2&format=6&token=[ACCESS_TOKEN]"
    
    curl -X GET "https://rest.entitysport.com/v2/matches?date=2018-02-12(Date start - yyyy-mm-dd)_2018-02-13(Date end - yyyy-mm-dd)&paged=1&per_page=50&token=[ACCESS_TOKEN]"
    
    curl -X GET "https://rest.entitysport.com/v2/matches/?status=2&format=6&token=[ACCESS_TOKEN]&per_page=10&&paged=1"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "match_id": 19884,
                    "title": "Barbados Tridents vs St Lucia Stars",
                    "subtitle": "27th Match",
                    "format": 6,
                    "format_str": "T20",
                    "status": 2,
                    "status_str": "Completed",
                    "status_note": "Tridents won by 29 runs",
                    "verified": "true",
                    "pre_squad": "true",
                    "game_state": 0,
                    "game_state_str": "Default",
                    "domestic": "1",
                    "competition": {
                        "cid": 91396,
                        "title": "Caribbean Premier League",
                        "abbr": "caribbean-premier-league-2017",
                        "type": "tournament",
                        "category": "domestic",
                        "match_format": "t20",
                        "status": "live",
                        "season": "2017",
                        "datestart": "2017-08-04",
                        "dateend": "2017-09-09",
                        "total_matches": "34",
                        "total_rounds": "1",
                        "total_teams": "7",
                        "country": "wi"
                    },
                    "teama": {
                        "team_id": 18243,
                        "name": "Barbados Tridents",
                        "short_name": "BT",
                        "logo_url": "../assets/uploads/2016/03/barbados-tridents-120x80.jpg",
                        "scores_full": "195/4 (20 ov)",
                        "scores": "195/4",
                        "overs": "20"
                    },
                    "teamb": {
                        "team_id": 18248,
                        "name": "St Lucia Stars",
                        "short_name": "STARS",
                        "logo_url": "../assets/uploads/2016/03/st-lucia-zouks-120x80.jpg",
                        "scores_full": "166/4 (20 ov)",
                        "scores": "166/4",
                        "overs": "20"
                    },
                    "date_start": "2017-09-01 00:00:00",
                    "date_end": "2017-08-31 10:00:00",
                    "timestamp_start": 1504224000,
                    "timestamp_end": 1504173600,
                    "venue": {
                        "name": "Kensington Oval, Bridgetown",
                        "location": "Barbados",
                        "timezone": "0"
                    },
                    "umpires": "Zahid Bassarath (West Indies), Leslie Reifer (West Indies), Johan Cloete (South Africa, TV)",
                    "referee": "Dev Govindjee (South Africa)",
                    "equation": "",
                    "live": "",
                    "result": "",
                    "win_margin": "",
                    "commentary": 1,
                    "wagon": 1,
                    "latest_inning_number": 2,
                    "toss": {
                        "text": "Barbados Tridents won the toss & elected to bat",
                        "winner": 18243,
                        "decision": 1
                    }
                }
            ],
            "total_items": "847",
            "total_pages": 847
        },
        "etag": "29f944e40e6c5f1537d15995287e1b03",
        "modified": "2017-09-01 15:10:49",
        "datetime": "2017-09-01 15:10:49",
        "api_version": "2.0"
    }
    

    Matches List API provide access to all of our matches.

    Request

    Parameter Value Description
    status integer filter matches by status (ie: live, completed, upcoming). see properties reference for match status codes
    format integer filter matches by format (ie: odi, test). see properties reference for match format codes
    date string List matches of specific date. Need both date start and date end values. date value example - 2018-02-12 (yyyy-mm-dd)
    token string API access token
    per_page integer Number of competition to list in each api request
    paged integer Page number for request

    Response

    Reference

    Parameter Value Description
    match_id interger match id
    title string match name/title
    subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
    format interger numerical representation of match format. see match_formats reference.
    format_str string match format name
    status string numerical representation of match status. see match_statuss reference.
    status_str string match status name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
    pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
    game_state string numerical representation of match game_state. game state is available for live match only.
    game_state_str string match game_state name.
    competition array an array of parent competition details of the match, see competition object properties.
    team array an array of teams participating in the match, see team match properties.
    date_start date match start date in GMT(UTC +0)
    date_end date match end date in GMT(UTC +0)
    timestamp_start integer match start timestamp in GMT(UTC +0)
    timestamp_end integer match end timestamp in GMT(UTC +0)
    venue array an array of venue details of the match, see venue object properties.
    umpires string umpires of the match.
    referee string referee of the match.
    equation string match result condition.
    live string live match status note.
    win_margin string match win margin.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    latest_inning_number interger latest or active innings number.
    toss array an array of toss details of the match, see toss object properties.

    Competition Properties

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    country string Country ISO Code
    type string competition type, possible values are tour, tournament, series

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    logo_url string team logo url
    scores_full string team full score
    scores string team score
    overs string overs played by team

    Venue Properties

    Parameter Value Description
    name string Venue name/title
    location string City Name
    timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

    Toss Properties

    Parameter Value Description
    text string Toss result text with team name
    winner integer team id of toss winning team
    decision integer numerical representation of decision made by toss winning team.

    Match Info API

    curl -X GET "https://rest.entitysport.com/v2/matches/19887/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "match_id": 19887,
            "title": "Barbados Tridents vs St Kitts and Nevis Patriots",
            "subtitle": "30th Match",
            "format": 6,
            "format_str": "T20",
            "status": 2,
            "status_str": "Completed",
            "status_note": "Patriots won by 10 wickets (with 78 balls remaining)",
            "verified": "true",
            "pre_squad": "true",
            "game_state": 0,
            "game_state_str": "Default",
            "competition": {
                "cid": 91396,
                "title": "Caribbean Premier League",
                "abbr": "caribbean-premier-league-2017",
                "type": "tournament",
                "category": "domestic",
                "match_format": "t20",
                "status": "live",
                "season": "2017",
                "datestart": "2017-08-04",
                "dateend": "2017-09-09",
                "total_matches": "34",
                "total_rounds": "1",
                "total_teams": "7",
                "country": "wi"
            },
            "teama": {
                "team_id": 18243,
                "name": "Barbados Tridents",
                "short_name": "BT",
                "logo_url": "../assets/uploads/2016/03/barbados-tridents-120x80.jpg",
                "scores_full": "128/9 (20 ov)",
                "scores": "128/9",
                "overs": "20"
            },
            "teamb": {
                "team_id": 18256,
                "name": "St Kitts and Nevis Patriots",
                "short_name": "STKNP",
                "logo_url": "../assets/uploads/2017/07/patriots_icon-120x120.png",
                "scores_full": "129/0 (7 ov)",
                "scores": "129/0",
                "overs": "7"
            },
            "date_start": "2017-09-03 22:00:00",
            "date_end": "2017-09-04 23:59:00",
            "timestamp_start": 1504476000,
            "timestamp_end": 1504569540,
            "venue": {
                "name": "Kensington Oval, Bridgetown",
                "location": "Barbados",
                "timezone": "0"
            },
            "umpires": "Johan Cloete (South Africa), Leslie Reifer (West Indies), Zahid Bassarath (West Indies, TV)",
            "referee": "Dev Govindjee (South Africa)",
            "equation": "",
            "live": "",
            "result": "",
            "win_margin": "",
            "commentary": 1,
            "wagon": 1,
            "latest_inning_number": 2,
            "toss": {
                "text": "St Kitts and Nevis Patriots won the toss & elected to field",
                "winner": 18256,
                "decision": 2
            }
        },
        "etag": "fb3f0f904913325ac146aa1886e86bdc",
        "modified": "2017-09-04 01:41:05",
        "datetime": "2017-09-04 06:03:06",
        "api_version": "2.0"
    }
    

    Match Info API provide general match information.

    Request

    Parameter Value Description
    token string API access token

    Response

    Reference

    Parameter Value Description
    match_id interger match id
    title string match name/title
    subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
    format interger numerical representation of match format. see match_formats reference.
    format_str string match format name
    status string numerical representation of match status. see match_statuss reference.
    status_str string match status name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
    pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
    game_state string numerical representation of match game_state. game state is available for live match only.
    game_state_str string match game_state name.
    competition array an array of parent competition details of the match, see competition object properties.
    team array an array of teams participating in the match, see team match properties.
    date_start date match start date in GMT(UTC +0)
    date_end date match end date in GMT(UTC +0)
    timestamp_start integer match start timestamp in GMT(UTC +0)
    timestamp_end integer match end timestamp in GMT(UTC +0)
    venue array an array of venue details of the match, see venue object properties.
    umpires string umpires of the match.
    referee string referee of the match.
    equation string match result condition.
    live string live match status note.
    win_margin string match win margin.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    latest_inning_number interger latest or active innings number.
    toss array an array of toss details of the match, see toss object properties.

    Competition Properties

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    country string Country ISO Code
    type string competition type, possible values are tour, tournament, series

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    logo_url string team logo url
    scores_full string team full score
    scores string team score
    overs string overs played by team

    Venue Properties

    Parameter Value Description
    name string Venue name/title
    location string City Name
    timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

    Toss Properties

    Parameter Value Description
    text string Toss result text with team name
    winner integer team id of toss winning team
    decision integer numerical representation of decision made by toss winning team.

    Match Fantasy Points API

    curl -X GET "https://rest.entitysport.com/v2/matches/40152/point?token=[ACCESS_TOKEN]"
    
    curl -X GET "https://rest.entitysport.com/v2/matches/40152/newpoint?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "match_id": 40152,
            "title": "India vs Australia",
            "subtitle": "4th ODI",
            "format": 1,
            "format_str": "ODI",
            "status": 2,
            "status_str": "Completed",
            "status_note": "Australia won by 4 wickets (with 13 balls remaining)",
            "verified": "true",
            "pre_squad": "true",
            "odds_available": "false",
            "game_state": 0,
            "game_state_str": "Default",
            "competition": {
                "cid": 112302,
                "title": "Australia tour of India",
                "abbr": "atoi-1819",
                "type": "tour",
                "category": "international",
                "match_format": "mixed",
                "status": "live",
                "season": "2018/19",
                "datestart": "2019-02-24",
                "dateend": "2019-03-13",
                "total_matches": "7",
                "total_rounds": "2",
                "total_teams": "2",
                "country": "int"
            },
            "teama": {
                "team_id": 25,
                "name": "India",
                "short_name": "IND",
                "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                "scores_full": "358/9 (50 ov)",
                "scores": "358/9",
                "overs": "50"
            },
            "teamb": {
                "team_id": 5,
                "name": "Australia",
                "short_name": "AUS",
                "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/australia.png",
                "scores_full": "*359/6 (47.5 ov)",
                "scores": "359/6",
                "overs": "47.5"
            },
            "date_start": "2019-03-10 08:00:00",
            "date_end": "2019-03-10 20:00:00",
            "timestamp_start": 1552204800,
            "timestamp_end": 1552248000,
            "venue": {
                "name": "Punjab Cricket Association IS Bindra Stadium, Mohali",
                "location": "Chandigarh",
                "timezone": "-12"
            },
            "umpires": "Joel Wilson (West Indies, TV), Kumar Dharmasena (Sri Lanka), Anil Chaudhary (India)",
            "referee": "Ranjan Madugalle (Sri Lanka)",
            "equation": "",
            "live": "",
            "result": "AUS won by 4 wickets",
            "result_type": 2,
            "win_margin": "4 wickets",
            "winning_team_id": 5,
            "commentary": 1,
            "wagon": 1,
            "latest_inning_number": 2,
            "toss": {
                "text": "India won the toss & elected to bat",
                "winner": 25,
                "decision": 1
            },
            "points": {
                "teama": {
                    "playing11": [
                        {
                            "pid": "115",
                            "name": "Rohit Sharma",
                            "role": "bat",
                            "rating": "10",
                            "point": "57",
                            "starting11": "2",
                            "run": "47.5",
                            "four": "3.5",
                            "six": "2",
                            "sr": "0",
                            "fifty": "2",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "117",
                            "name": "Shikhar Dhawan",
                            "role": "bat",
                            "rating": "9.5",
                            "point": "93.5",
                            "starting11": "2",
                            "run": "71.5",
                            "four": "9",
                            "six": "3",
                            "sr": "0",
                            "fifty": "4",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "119",
                            "name": "Virat Kohli",
                            "role": "bat",
                            "rating": "11.5",
                            "point": "6",
                            "starting11": "2",
                            "run": "3.5",
                            "four": "0.5",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "434",
                            "name": "Bhuvneshwar Kumar",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "13.5",
                            "starting11": "2",
                            "run": "0.5",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "12",
                            "maidenover": "0",
                            "er": "-1",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "607",
                            "name": "Jasprit Bumrah",
                            "role": "bowl",
                            "rating": "9.5",
                            "point": "41",
                            "starting11": "2",
                            "run": "3",
                            "four": "0",
                            "six": "1",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "36",
                            "maidenover": "0",
                            "er": "-1",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "621",
                            "name": "Kedar Jadhav",
                            "role": "all",
                            "rating": "8.5",
                            "point": "5",
                            "starting11": "2",
                            "run": "5",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "-2",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "654",
                            "name": "Yuzvendra Chahal",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "14",
                            "starting11": "2",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "12",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "661",
                            "name": "Lokesh Rahul",
                            "role": "bat",
                            "rating": "8.5",
                            "point": "19.5",
                            "starting11": "2",
                            "run": "13",
                            "four": "0.5",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "775",
                            "name": "Kuldeep Yadav",
                            "role": "bowl",
                            "rating": "9",
                            "point": "18.5",
                            "starting11": "2",
                            "run": "0.5",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "12",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "1098",
                            "name": "Rishabh Pant",
                            "role": "wk",
                            "rating": "8",
                            "point": "23",
                            "starting11": "2",
                            "run": "18",
                            "four": "2",
                            "six": "1",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "49682",
                            "name": "Vijay Shankar",
                            "role": "all",
                            "rating": "8",
                            "point": "17.5",
                            "starting11": "2",
                            "run": "13",
                            "four": "0.5",
                            "six": "2",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        }
                    ],
                    "substitute": [
                        {
                            "pid": "125",
                            "name": "Ravindra Jadeja",
                            "role": "all",
                            "rating": "8.5",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "131",
                            "name": "Mohammed Shami",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "603",
                            "name": "Ambati Rayudu",
                            "role": "bat",
                            "rating": "8.5",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "727",
                            "name": "Hardik Pandya",
                            "role": "all",
                            "rating": "9.5",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        }
                    ]
                },
                "teamb": {
                    "playing11": [
                        {
                            "pid": "73",
                            "name": "Aaron Finch",
                            "role": "bat",
                            "rating": "9",
                            "point": "3",
                            "starting11": "2",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "-3",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "81",
                            "name": "Glenn Maxwell",
                            "role": "all",
                            "rating": "9",
                            "point": "20.5",
                            "starting11": "2",
                            "run": "11.5",
                            "four": "1",
                            "six": "1",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "2",
                            "er": "-1",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "388",
                            "name": "Pat Cummins",
                            "role": "bowl",
                            "rating": "9",
                            "point": "69",
                            "starting11": "2",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "64",
                            "maidenover": "0",
                            "er": "-1",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "739",
                            "name": "Shaun Marsh",
                            "role": "bat",
                            "rating": "9.5",
                            "point": "5.5",
                            "starting11": "2",
                            "run": "3",
                            "four": "0.5",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "1959",
                            "name": "Usman Khawaja",
                            "role": "bat",
                            "rating": "8.5",
                            "point": "53",
                            "starting11": "2",
                            "run": "45.5",
                            "four": "3.5",
                            "six": "0",
                            "sr": "0",
                            "fifty": "2",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "1965",
                            "name": "Adam Zampa",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "14",
                            "starting11": "2",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "12",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "43491",
                            "name": "Peter Handscomb",
                            "role": "bat",
                            "rating": "8.5",
                            "point": "75.5",
                            "starting11": "2",
                            "run": "58.5",
                            "four": "4",
                            "six": "3",
                            "sr": "0",
                            "fifty": "4",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "43582",
                            "name": "Jason Behrendorff",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "4",
                            "starting11": "2",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "2",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "43584",
                            "name": "Ashton Turner",
                            "role": "bat",
                            "rating": "8",
                            "point": "54.5",
                            "starting11": "2",
                            "run": "42",
                            "four": "2.5",
                            "six": "6",
                            "sr": "0",
                            "fifty": "2",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "43631",
                            "name": "Jhye Richardson",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "39",
                            "starting11": "2",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "36",
                            "maidenover": "0",
                            "er": "-3",
                            "catch": "4",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "55106",
                            "name": "Alex Carey",
                            "role": "wk",
                            "rating": "8",
                            "point": "25.5",
                            "starting11": "2",
                            "run": "10.5",
                            "four": "1",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "12",
                            "runoutstumping": "0"
                        }
                    ],
                    "substitute": [
                        {
                            "pid": "623",
                            "name": "Nathan Coulter-Nile",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "1963",
                            "name": "Andrew Tye",
                            "role": "bowl",
                            "rating": "8.5",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "43459",
                            "name": "Nathan Lyon",
                            "role": "bowl",
                            "rating": "8",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        },
                        {
                            "pid": "43482",
                            "name": "Marcus Stoinis",
                            "role": "all",
                            "rating": "9",
                            "point": "0",
                            "starting11": "0",
                            "run": "0",
                            "four": "0",
                            "six": "0",
                            "sr": "0",
                            "fifty": "0",
                            "duck": "0",
                            "wkts": "0",
                            "maidenover": "0",
                            "er": "0",
                            "catch": "0",
                            "runoutstumping": "0"
                        }
                    ]
                }
            }
        },
        "etag": "1d868bce98f027b9b6eb377ab997cf05",
        "modified": "2019-03-10 16:29:29",
        "datetime": "2019-03-10 19:07:47",
        "api_version": "2.0"
    }
    
    

    Match Fantasy Points API provide player fantasy points value based on match performance.

    Request

    Parameter Value Description
    token string API access token

    Response

    Reference

    Parameter Value Description
    match_id interger match id
    title string match name/title
    subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
    format interger numerical representation of match format. see match_formats reference.
    format_str string match format name
    status string numerical representation of match status. see match_statuss reference.
    status_str string match status name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
    pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
    game_state string numerical representation of match game_state. game state is available for live match only.
    game_state_str string match game_state name.
    competition array an array of parent competition details of the match, see competition object properties.
    team array an array of teams participating in the match, see team match properties.
    date_start date match start date in GMT(UTC +0)
    date_end date match end date in GMT(UTC +0)
    timestamp_start integer match start timestamp in GMT(UTC +0)
    timestamp_end integer match end timestamp in GMT(UTC +0)
    venue array an array of venue details of the match, see venue object properties.
    umpires string umpires of the match.
    referee string referee of the match.
    equation string match result condition.
    live string live match status note.
    win_margin string match win margin.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    latest_inning_number interger latest or active innings number.
    toss array an array of toss details of the match, see toss object properties.
    points array an array of details player fantasy points team wise based on match performance see points properties.

    Competition Properties

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    country string Country ISO Code
    type string competition type, possible values are tour, tournament, series

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    logo_url string team logo url
    scores_full string team full score
    scores string team score
    overs string overs played by team

    Venue Properties

    Parameter Value Description
    name string Venue name/title
    location string City Name
    timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

    Toss Properties

    Parameter Value Description
    text string Toss result text with team name
    winner integer team id of toss winning team
    decision integer numerical representation of decision made by toss winning team.

    Points Properties

    Parameter Value Description
    teama array Team A player list details. see teama properties.
    teamb array Team B player list details. see teamb properties.

    Team A/Team B Properties

    Parameter Value Description
    playing11 array player list details of which are included in playing 11. see playing11 properties.
    substitute array player list details of which are not included in playing 11. see substitute properties.

    playing11/substitute Properties

    Parameter Value Description
    pid string player id
    name string player name
    role string player match playing role
    rating string player salary credits
    point string player fantasy points based on match performance
    starting11 string player fantasy points for part of starting11
    run string player fantasy points for runs scorecard
    four string player fantasy points for number of 4s
    six string player fantasy points for number of 6s
    sr string player fantasy points for strike rate
    fifty string player fantasy points for 50 runs scored
    duck string player fantasy points for 0 run scored
    wkts string player fantasy points for wickets taken
    maidenover string player fantasy for maiden over
    er string player fantasy points for economy rate
    catch string player fantasy points for catches taken
    runoutstumping string player fantasy points runouts and stumping

    Match Scorecard API

    curl -X GET "https://rest.entitysport.com/v2/matches/19899/scorecard?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "match_id": 39176,
            "title": "New Zealand vs Pakistan",
            "subtitle": "3rd Test",
            "format": 2,
            "format_str": "Test",
            "status": 3,
            "status_str": "Live",
            "status_note": "Stumps - Day 4 - New Zealand lead by 198 runs with 6 wickets remaining",
            "verified": "false",
            "pre_squad": "true",
            "game_state": 7,
            "game_state_str": "Day Break",
            "competition": {
                "cid": 111608,
                "title": "New Zealand tour of United Arab Emirates",
                "abbr": "nztouae-1819",
                "type": "tour",
                "category": "international",
                "match_format": "mixed",
                "status": "live",
                "season": "2018/19",
                "datestart": "2018-10-31",
                "dateend": "2018-12-07",
                "total_matches": "9",
                "total_rounds": "3",
                "total_teams": "2",
                "country": "int"
            },
            "teama": {
                "team_id": 7,
                "name": "New Zealand",
                "short_name": "NZ",
                "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/new-zealand.png",
                "scores_full": "274/10 & *272/4 (104 ov)",
                "scores": "272/4",
                "overs": "104"
            },
            "teamb": {
                "team_id": 13,
                "name": "Pakistan",
                "short_name": "PAK",
                "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/pakistan.png",
                "scores_full": "348/10 (135 ov)",
                "scores": "348/10",
                "overs": "135"
            },
            "date_start": "2018-12-03 06:00:00",
            "date_end": "2018-12-07 18:00:00",
            "timestamp_start": 1543816800,
            "timestamp_end": 1544205600,
            "venue": {
                "name": "Sheikh Zayed Stadium",
                "location": "Abu Dhabi",
                "timezone": "-12"
            },
            "umpires": "Bruce Oxenford (Australia, TV), Ian Gould (England), Paul Reiffel (Australia)",
            "referee": "Javagal Srinath (India)",
            "equation": "",
            "live": "Stumps - Day 4 - New Zealand lead by 198 runs with 6 wickets remaining",
            "result": "",
            "win_margin": "",
            "winning_team_id": 0,
            "commentary": 1,
            "wagon": 1,
            "latest_inning_number": 3,
            "toss": {
                "text": "New Zealand won the toss & elected to bat",
                "winner": 7,
                "decision": 1
            },
            "current_over": "",
            "previous_over": "",
            "man_of_the_match": "",
            "man_of_the_series": "",
            "is_followon": 0,
            "team_batting_first": "",
            "team_batting_second": "",
            "last_five_overs": "",
            "live_inning_number": "",
            "innings": [
                {
                    "iid": 90613,
                    "number": 1,
                    "name": "New Zealand inning",
                    "short_name": "NZ inn.",
                    "status": 2,
                    "result": 1,
                    "batting_team_id": 7,
                    "fielding_team_id": 13,
                    "scores": "274/10",
                    "scores_full": "274/10 (116.1 ov)",
                    "batsmen": [
                        {
                            "batsman_id": "16622",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "45",
                            "balls_faced": "82",
                            "fours": "4",
                            "sixes": "0",
                            "run0": "59",
                            "run1": "11",
                            "run2": "6",
                            "run3": "2",
                            "run5": "0",
                            "how_out": "lbw b Yasir Shah",
                            "dismissal": "lbw",
                            "strike_rate": "54.87",
                            "bowler_id": "153",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "44185",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "4",
                            "balls_faced": "11",
                            "fours": "1",
                            "sixes": "0",
                            "run0": "10",
                            "run1": "0",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "lbw b Shaheen Shah Afridi",
                            "dismissal": "lbw",
                            "strike_rate": "36.36",
                            "bowler_id": "92991",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "31",
                            "batting": "false",
                            "position": "",
                            "role": "cap",
                            "role_str": " (C)",
                            "runs": "89",
                            "balls_faced": "176",
                            "fours": "7",
                            "sixes": "0",
                            "run0": "130",
                            "run1": "26",
                            "run2": "4",
                            "run3": "9",
                            "run5": "0",
                            "how_out": "c Asad Shafiq b Hasan Ali",
                            "dismissal": "caught",
                            "strike_rate": "50.56",
                            "bowler_id": "44099",
                            "first_fielder_id": "44087",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "33",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "0",
                            "balls_faced": "1",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "1",
                            "run1": "0",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "b Yasir Shah",
                            "dismissal": "bowled",
                            "strike_rate": "0.00",
                            "bowler_id": "153",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "1967",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "1",
                            "balls_faced": "13",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "12",
                            "run1": "1",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "b Yasir Shah",
                            "dismissal": "bowled",
                            "strike_rate": "7.69",
                            "bowler_id": "153",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "49062",
                            "batting": "false",
                            "position": "",
                            "role": "wk",
                            "role_str": " (WK)",
                            "runs": "77",
                            "balls_faced": "250",
                            "fours": "4",
                            "sixes": "0",
                            "run0": "199",
                            "run1": "36",
                            "run2": "8",
                            "run3": "3",
                            "run5": "0",
                            "how_out": "Not out",
                            "dismissal": "",
                            "strike_rate": "30.80",
                            "bowler_id": "",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "16630",
                            "batting": "false",
                            "position": "",
                            "role": "all",
                            "role_str": "",
                            "runs": "20",
                            "balls_faced": "22",
                            "fours": "1",
                            "sixes": "1",
                            "run0": "13",
                            "run1": "4",
                            "run2": "3",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "c Asad Shafiq b Bilal Asif",
                            "dismissal": "caught",
                            "strike_rate": "90.90",
                            "bowler_id": "43373",
                            "first_fielder_id": "44087",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "43",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "2",
                            "balls_faced": "9",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "7",
                            "run1": "2",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "c Babar Azam b Bilal Asif",
                            "dismissal": "caught",
                            "strike_rate": "22.22",
                            "bowler_id": "43373",
                            "first_fielder_id": "43371",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "43607",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "12",
                            "balls_faced": "99",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "90",
                            "run1": "7",
                            "run2": "1",
                            "run3": "1",
                            "run5": "0",
                            "how_out": "b Bilal Asif",
                            "dismissal": "bowled",
                            "strike_rate": "12.12",
                            "bowler_id": "43373",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "46314",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "6",
                            "balls_faced": "25",
                            "fours": "1",
                            "sixes": "0",
                            "run0": "22",
                            "run1": "2",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "c Asad Shafiq b Bilal Asif",
                            "dismissal": "caught",
                            "strike_rate": "24.00",
                            "bowler_id": "43373",
                            "first_fielder_id": "44087",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "47",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "1",
                            "balls_faced": "9",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "8",
                            "run1": "1",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "b Bilal Asif",
                            "dismissal": "bowled",
                            "strike_rate": "11.11",
                            "bowler_id": "43373",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        }
                    ],
                    "bowlers": [
                        {
                            "bowler_id": "44099",
                            "bowling": "false",
                            "position": "",
                            "overs": "20",
                            "maidens": "6",
                            "runs_conceded": "58",
                            "wickets": "1",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.90",
                            "run0": "94"
                        },
                        {
                            "bowler_id": "92991",
                            "bowling": "false",
                            "position": "",
                            "overs": "23",
                            "maidens": "6",
                            "runs_conceded": "52",
                            "wickets": "1",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.26",
                            "run0": "114"
                        },
                        {
                            "bowler_id": "153",
                            "bowling": "false",
                            "position": "",
                            "overs": "41",
                            "maidens": "11",
                            "runs_conceded": "75",
                            "wickets": "3",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "1.82",
                            "run0": "196"
                        },
                        {
                            "bowler_id": "43373",
                            "bowling": "false",
                            "position": "",
                            "overs": "30.1",
                            "maidens": "4",
                            "runs_conceded": "65",
                            "wickets": "5",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.15",
                            "run0": "139"
                        },
                        {
                            "bowler_id": "141",
                            "bowling": "false",
                            "position": "",
                            "overs": "2",
                            "maidens": "0",
                            "runs_conceded": "7",
                            "wickets": "0",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "3.50",
                            "run0": "8"
                        }
                    ],
                    "fielder": [
                        {
                            "fielder_id": "44087",
                            "fielder_name": "Asad Shafiq",
                            "catches": 3,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "43371",
                            "fielder_name": "Babar Azam",
                            "catches": 1,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        }
                    ],
                    "fows": [
                        {
                            "batsman_id": "44185",
                            "runs": "4",
                            "balls": "11",
                            "how_out": "lbw b Shaheen Shah Afridi",
                            "score_at_dismissal": 24,
                            "overs_at_dismissal": "5.4",
                            "bowler_id": "92991",
                            "dismissal": "lbw",
                            "number": 1
                        },
                        {
                            "batsman_id": "16622",
                            "runs": "45",
                            "balls": "82",
                            "how_out": "lbw b Yasir Shah",
                            "score_at_dismissal": 70,
                            "overs_at_dismissal": "22.2",
                            "bowler_id": "153",
                            "dismissal": "lbw",
                            "number": 2
                        },
                        {
                            "batsman_id": "33",
                            "runs": "0",
                            "balls": "1",
                            "how_out": "b Yasir Shah",
                            "score_at_dismissal": 70,
                            "overs_at_dismissal": "22.3",
                            "bowler_id": "153",
                            "dismissal": "bowled",
                            "number": 3
                        },
                        {
                            "batsman_id": "1967",
                            "runs": "1",
                            "balls": "13",
                            "how_out": "b Yasir Shah",
                            "score_at_dismissal": 72,
                            "overs_at_dismissal": "26.3",
                            "bowler_id": "153",
                            "dismissal": "bowled",
                            "number": 4
                        },
                        {
                            "batsman_id": "31",
                            "runs": "89",
                            "balls": "176",
                            "how_out": "c Asad Shafiq b Hasan Ali",
                            "score_at_dismissal": 176,
                            "overs_at_dismissal": "67.6",
                            "bowler_id": "44099",
                            "dismissal": "caught",
                            "number": 5
                        },
                        {
                            "batsman_id": "16630",
                            "runs": "20",
                            "balls": "22",
                            "how_out": "c Asad Shafiq b Bilal Asif",
                            "score_at_dismissal": 203,
                            "overs_at_dismissal": "76.2",
                            "bowler_id": "43373",
                            "dismissal": "caught",
                            "number": 6
                        },
                        {
                            "batsman_id": "43",
                            "runs": "2",
                            "balls": "9",
                            "how_out": "c Babar Azam b Bilal Asif",
                            "score_at_dismissal": 209,
                            "overs_at_dismissal": "78.2",
                            "bowler_id": "43373",
                            "dismissal": "caught",
                            "number": 7
                        },
                        {
                            "batsman_id": "43607",
                            "runs": "12",
                            "balls": "99",
                            "how_out": "b Bilal Asif",
                            "score_at_dismissal": 254,
                            "overs_at_dismissal": "106.5",
                            "bowler_id": "43373",
                            "dismissal": "bowled",
                            "number": 8
                        },
                        {
                            "batsman_id": "46314",
                            "runs": "6",
                            "balls": "25",
                            "how_out": "c Asad Shafiq b Bilal Asif",
                            "score_at_dismissal": 272,
                            "overs_at_dismissal": "114.2",
                            "bowler_id": "43373",
                            "dismissal": "caught",
                            "number": 9
                        },
                        {
                            "batsman_id": "47",
                            "runs": "1",
                            "balls": "9",
                            "how_out": "b Bilal Asif",
                            "score_at_dismissal": 274,
                            "overs_at_dismissal": "116.1",
                            "bowler_id": "43373",
                            "dismissal": "bowled",
                            "number": 10
                        }
                    ],
                    "last_wicket": {
                        "batsman_id": "47",
                        "runs": "1",
                        "balls": "9",
                        "how_out": "b Bilal Asif",
                        "score_at_dismissal": 274,
                        "overs_at_dismissal": "116.1",
                        "bowler_id": "43373",
                        "dismissal": "bowled",
                        "number": 10
                    },
                    "extra_runs": {
                        "byes": 11,
                        "legbyes": 6,
                        "wides": 0,
                        "noballs": 0,
                        "penalty": "",
                        "total": 17
                    },
                    "equations": {
                        "runs": 274,
                        "wickets": 10,
                        "overs": "116.1",
                        "bowlers_used": 5,
                        "runrate": "2.35"
                    },
                    "current_partnership": {
                        "runs": 2,
                        "balls": 11,
                        "overs": 1.5,
                        "batsmen": [
                            {
                                "batsman_id": 49062,
                                "runs": 1,
                                "balls": 2
                            },
                            {
                                "batsman_id": 47,
                                "runs": 1,
                                "balls": 9
                            }
                        ]
                    }
                },
                {
                    "iid": 90614,
                    "number": 2,
                    "name": "Pakistan inning",
                    "short_name": "PAK inn.",
                    "status": 2,
                    "result": 1,
                    "batting_team_id": 13,
                    "fielding_team_id": 7,
                    "scores": "348/10",
                    "scores_full": "348/10 (135 ov)",
                    "batsmen": [
                        {
                            "batsman_id": "45199",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "9",
                            "balls_faced": "18",
                            "fours": "2",
                            "sixes": "0",
                            "run0": "15",
                            "run1": "1",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "c TG Southee b TA Boult",
                            "dismissal": "caught",
                            "strike_rate": "50.00",
                            "bowler_id": "47",
                            "first_fielder_id": "43",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "1748",
                            "batting": "false",
                            "position": "",
                            "role": "all",
                            "role_str": "",
                            "runs": "0",
                            "balls_faced": "4",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "4",
                            "run1": "0",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "c TG Southee b TA Boult",
                            "dismissal": "caught",
                            "strike_rate": "0.00",
                            "bowler_id": "47",
                            "first_fielder_id": "43",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "44050",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "134",
                            "balls_faced": "297",
                            "fours": "12",
                            "sixes": "0",
                            "run0": "217",
                            "run1": "54",
                            "run2": "10",
                            "run3": "4",
                            "run5": "0",
                            "how_out": "c AY Patel b WER Somerville",
                            "dismissal": "caught",
                            "strike_rate": "45.11",
                            "bowler_id": "43607",
                            "first_fielder_id": "46314",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "141",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "34",
                            "balls_faced": "91",
                            "fours": "2",
                            "sixes": "0",
                            "run0": "72",
                            "run1": "10",
                            "run2": "5",
                            "run3": "2",
                            "run5": "0",
                            "how_out": "c BJ Watling b TG Southee",
                            "dismissal": "caught",
                            "strike_rate": "37.36",
                            "bowler_id": "43",
                            "first_fielder_id": "49062",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "44087",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "104",
                            "balls_faced": "259",
                            "fours": "14",
                            "sixes": "0",
                            "run0": "206",
                            "run1": "31",
                            "run2": "7",
                            "run3": "1",
                            "run5": "0",
                            "how_out": "lbw b AY Patel",
                            "dismissal": "lbw",
                            "strike_rate": "40.15",
                            "bowler_id": "46314",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "43371",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "14",
                            "balls_faced": "25",
                            "fours": "2",
                            "sixes": "0",
                            "run0": "18",
                            "run1": "4",
                            "run2": "1",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "b WER Somerville",
                            "dismissal": "bowled",
                            "strike_rate": "56.00",
                            "bowler_id": "43607",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "442",
                            "batting": "false",
                            "position": "",
                            "role": "wkcap",
                            "role_str": " (WK/C)",
                            "runs": "25",
                            "balls_faced": "60",
                            "fours": "2",
                            "sixes": "0",
                            "run0": "42",
                            "run1": "15",
                            "run2": "1",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "c JA Raval b WER Somerville",
                            "dismissal": "caught",
                            "strike_rate": "41.66",
                            "bowler_id": "43607",
                            "first_fielder_id": "16622",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "43373",
                            "batting": "false",
                            "position": "",
                            "role": "all",
                            "role_str": "",
                            "runs": "11",
                            "balls_faced": "28",
                            "fours": "1",
                            "sixes": "0",
                            "run0": "23",
                            "run1": "2",
                            "run2": "1",
                            "run3": "1",
                            "run5": "0",
                            "how_out": "c LRPL Taylor b AY Patel",
                            "dismissal": "caught",
                            "strike_rate": "39.28",
                            "bowler_id": "46314",
                            "first_fielder_id": "33",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "153",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "1",
                            "balls_faced": "25",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "24",
                            "run1": "1",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "runout (WER Somerville / C de Grandhomme)",
                            "dismissal": "runout",
                            "strike_rate": "4.00",
                            "bowler_id": "",
                            "first_fielder_id": "16630",
                            "second_fielder_id": "43607",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "44099",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "0",
                            "balls_faced": "2",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "2",
                            "run1": "0",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "b WER Somerville",
                            "dismissal": "bowled",
                            "strike_rate": "0.00",
                            "bowler_id": "43607",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "92991",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "0",
                            "balls_faced": "2",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "2",
                            "run1": "0",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "Not out",
                            "dismissal": "",
                            "strike_rate": "0.00",
                            "bowler_id": "",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        }
                    ],
                    "bowlers": [
                        {
                            "bowler_id": "43",
                            "bowling": "false",
                            "position": "",
                            "overs": "25",
                            "maidens": "5",
                            "runs_conceded": "56",
                            "wickets": "1",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.24",
                            "run0": "118"
                        },
                        {
                            "bowler_id": "47",
                            "bowling": "false",
                            "position": "",
                            "overs": "26",
                            "maidens": "7",
                            "runs_conceded": "66",
                            "wickets": "2",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.53",
                            "run0": "124"
                        },
                        {
                            "bowler_id": "16630",
                            "bowling": "false",
                            "position": "",
                            "overs": "13",
                            "maidens": "2",
                            "runs_conceded": "36",
                            "wickets": "0",
                            "noballs": "1",
                            "wides": "0",
                            "econ": "2.76",
                            "run0": "62"
                        },
                        {
                            "bowler_id": "46314",
                            "bowling": "false",
                            "position": "",
                            "overs": "35",
                            "maidens": "5",
                            "runs_conceded": "100",
                            "wickets": "2",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.85",
                            "run0": "155"
                        },
                        {
                            "bowler_id": "43607",
                            "bowling": "false",
                            "position": "",
                            "overs": "36",
                            "maidens": "8",
                            "runs_conceded": "75",
                            "wickets": "4",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.08",
                            "run0": "166"
                        }
                    ],
                    "fielder": [
                        {
                            "fielder_id": "43",
                            "fielder_name": "Tim Southee",
                            "catches": 2,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "46314",
                            "fielder_name": "Ajaz Patel",
                            "catches": 1,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "49062",
                            "fielder_name": "BJ Watling",
                            "catches": 1,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "16622",
                            "fielder_name": "Jeet Raval",
                            "catches": 1,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "33",
                            "fielder_name": "Ross Taylor",
                            "catches": 1,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "16630",
                            "fielder_name": "Colin de Grandhomme",
                            "catches": 0,
                            "runout_thrower": 1,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "43607",
                            "fielder_name": "William Somerville",
                            "catches": 0,
                            "runout_thrower": 0,
                            "runout_catcher": 1,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        }
                    ],
                    "fows": [
                        {
                            "batsman_id": "1748",
                            "runs": "0",
                            "balls": "4",
                            "how_out": "c TG Southee b TA Boult",
                            "score_at_dismissal": 0,
                            "overs_at_dismissal": 1.4,
                            "bowler_id": "47",
                            "dismissal": "caught",
                            "number": 1
                        },
                        {
                            "batsman_id": "45199",
                            "runs": "9",
                            "balls": "18",
                            "how_out": "c TG Southee b TA Boult",
                            "score_at_dismissal": 17,
                            "overs_at_dismissal": "5.2",
                            "bowler_id": "47",
                            "dismissal": "caught",
                            "number": 2
                        },
                        {
                            "batsman_id": "141",
                            "runs": "34",
                            "balls": "91",
                            "how_out": "c BJ Watling b TG Southee",
                            "score_at_dismissal": 85,
                            "overs_at_dismissal": "34.5",
                            "bowler_id": "43",
                            "dismissal": "caught",
                            "number": 3
                        },
                        {
                            "batsman_id": "44050",
                            "runs": "134",
                            "balls": "297",
                            "how_out": "c AY Patel b WER Somerville",
                            "score_at_dismissal": 286,
                            "overs_at_dismissal": "106.5",
                            "bowler_id": "43607",
                            "dismissal": "caught",
                            "number": 4
                        },
                        {
                            "batsman_id": "44087",
                            "runs": "104",
                            "balls": "259",
                            "how_out": "lbw b AY Patel",
                            "score_at_dismissal": 304,
                            "overs_at_dismissal": "113.4",
                            "bowler_id": "46314",
                            "dismissal": "lbw",
                            "number": 5
                        },
                        {
                            "batsman_id": "43371",
                            "runs": "14",
                            "balls": "25",
                            "how_out": "b WER Somerville",
                            "score_at_dismissal": 312,
                            "overs_at_dismissal": "118.3",
                            "bowler_id": "43607",
                            "dismissal": "bowled",
                            "number": 6
                        },
                        {
                            "batsman_id": "43373",
                            "runs": "11",
                            "balls": "28",
                            "how_out": "c LRPL Taylor b AY Patel",
                            "score_at_dismissal": 333,
                            "overs_at_dismissal": "125.5",
                            "bowler_id": "46314",
                            "dismissal": "caught",
                            "number": 7
                        },
                        {
                            "batsman_id": "153",
                            "runs": "1",
                            "balls": "25",
                            "how_out": "runout (WER Somerville / C de Grandhomme)",
                            "score_at_dismissal": 346,
                            "overs_at_dismissal": "132.1",
                            "bowler_id": "",
                            "dismissal": "runout",
                            "number": 8
                        },
                        {
                            "batsman_id": "44099",
                            "runs": "0",
                            "balls": "2",
                            "how_out": "b WER Somerville",
                            "score_at_dismissal": 347,
                            "overs_at_dismissal": "132.6",
                            "bowler_id": "43607",
                            "dismissal": "bowled",
                            "number": 9
                        },
                        {
                            "batsman_id": "442",
                            "runs": "25",
                            "balls": "60",
                            "how_out": "c JA Raval b WER Somerville",
                            "score_at_dismissal": 348,
                            "overs_at_dismissal": "134.6",
                            "bowler_id": "43607",
                            "dismissal": "caught",
                            "number": 10
                        }
                    ],
                    "last_wicket": {
                        "batsman_id": "442",
                        "runs": "25",
                        "balls": "60",
                        "how_out": "c JA Raval b WER Somerville",
                        "score_at_dismissal": 348,
                        "overs_at_dismissal": "134.6",
                        "bowler_id": "43607",
                        "dismissal": "caught",
                        "number": 10
                    },
                    "extra_runs": {
                        "byes": 6,
                        "legbyes": 9,
                        "wides": 0,
                        "noballs": 1,
                        "penalty": "",
                        "total": 16
                    },
                    "equations": {
                        "runs": 348,
                        "wickets": 10,
                        "overs": "135",
                        "bowlers_used": 5,
                        "runrate": "2.57"
                    },
                    "current_partnership": {
                        "runs": 1,
                        "balls": 12,
                        "overs": 2,
                        "batsmen": [
                            {
                                "batsman_id": 442,
                                "runs": 1,
                                "balls": 10
                            },
                            {
                                "batsman_id": 92991,
                                "runs": 0,
                                "balls": 2
                            }
                        ]
                    }
                },
                {
                    "iid": 90623,
                    "number": 3,
                    "name": "New Zealand inning",
                    "short_name": "NZ inn.",
                    "status": 3,
                    "result": 0,
                    "batting_team_id": 7,
                    "fielding_team_id": 13,
                    "scores": "272/4",
                    "scores_full": "272/4 (104 ov)",
                    "batsmen": [
                        {
                            "batsman_id": "16622",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "0",
                            "balls_faced": "15",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "15",
                            "run1": "0",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "lbw b Shaheen Shah Afridi",
                            "dismissal": "lbw",
                            "strike_rate": "0.00",
                            "bowler_id": "92991",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "44185",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "10",
                            "balls_faced": "37",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "30",
                            "run1": "5",
                            "run2": "1",
                            "run3": "1",
                            "run5": "0",
                            "how_out": "c Haris Sohail b Yasir Shah",
                            "dismissal": "caught",
                            "strike_rate": "27.02",
                            "bowler_id": "153",
                            "first_fielder_id": "141",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "31",
                            "batting": "true",
                            "position": "striker",
                            "role": "cap",
                            "role_str": " (C)",
                            "runs": "139",
                            "balls_faced": "282",
                            "fours": "13",
                            "sixes": "0",
                            "run0": "210",
                            "run1": "41",
                            "run2": "9",
                            "run3": "8",
                            "run5": "0",
                            "how_out": "Not out",
                            "dismissal": "",
                            "strike_rate": "49.29",
                            "bowler_id": "",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "43607",
                            "batting": "false",
                            "position": "",
                            "role": "bowl",
                            "role_str": "",
                            "runs": "4",
                            "balls_faced": "34",
                            "fours": "0",
                            "sixes": "0",
                            "run0": "30",
                            "run1": "4",
                            "run2": "0",
                            "run3": "0",
                            "run5": "0",
                            "how_out": "lbw b Yasir Shah",
                            "dismissal": "lbw",
                            "strike_rate": "11.76",
                            "bowler_id": "153",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "33",
                            "batting": "false",
                            "position": "",
                            "role": "bat",
                            "role_str": "",
                            "runs": "22",
                            "balls_faced": "14",
                            "fours": "4",
                            "sixes": "0",
                            "run0": "7",
                            "run1": "1",
                            "run2": "1",
                            "run3": "1",
                            "run5": "0",
                            "how_out": "c Bilal Asif b Shaheen Shah Afridi",
                            "dismissal": "caught",
                            "strike_rate": "157.14",
                            "bowler_id": "92991",
                            "first_fielder_id": "43373",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        },
                        {
                            "batsman_id": "1967",
                            "batting": "true",
                            "position": "non-striker",
                            "role": "bat",
                            "role_str": "",
                            "runs": "90",
                            "balls_faced": "243",
                            "fours": "8",
                            "sixes": "0",
                            "run0": "191",
                            "run1": "32",
                            "run2": "10",
                            "run3": "2",
                            "run5": "0",
                            "how_out": "Not out",
                            "dismissal": "",
                            "strike_rate": "37.03",
                            "bowler_id": "",
                            "first_fielder_id": "",
                            "second_fielder_id": "",
                            "third_fielder_id": ""
                        }
                    ],
                    "bowlers": [
                        {
                            "bowler_id": "44099",
                            "bowling": "false",
                            "position": "",
                            "overs": "13",
                            "maidens": "5",
                            "runs_conceded": "37",
                            "wickets": "0",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.84",
                            "run0": "65"
                        },
                        {
                            "bowler_id": "92991",
                            "bowling": "false",
                            "position": "",
                            "overs": "16",
                            "maidens": "5",
                            "runs_conceded": "55",
                            "wickets": "2",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "3.43",
                            "run0": "76"
                        },
                        {
                            "bowler_id": "153",
                            "bowling": "true",
                            "position": "last bowler",
                            "overs": "37",
                            "maidens": "8",
                            "runs_conceded": "107",
                            "wickets": "2",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.89",
                            "run0": "160"
                        },
                        {
                            "bowler_id": "43373",
                            "bowling": "true",
                            "position": "active bowler",
                            "overs": "36",
                            "maidens": "6",
                            "runs_conceded": "62",
                            "wickets": "0",
                            "noballs": "1",
                            "wides": "0",
                            "econ": "1.72",
                            "run0": "174"
                        },
                        {
                            "bowler_id": "44050",
                            "bowling": "false",
                            "position": "",
                            "overs": "1",
                            "maidens": "0",
                            "runs_conceded": "2",
                            "wickets": "0",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "2.00",
                            "run0": "4"
                        },
                        {
                            "bowler_id": "1748",
                            "bowling": "false",
                            "position": "",
                            "overs": "1",
                            "maidens": "0",
                            "runs_conceded": "3",
                            "wickets": "0",
                            "noballs": "0",
                            "wides": "0",
                            "econ": "3.00",
                            "run0": "3"
                        }
                    ],
                    "fielder": [
                        {
                            "fielder_id": "141",
                            "fielder_name": "Haris Sohail",
                            "catches": 1,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        },
                        {
                            "fielder_id": "43373",
                            "fielder_name": "Bilal Asif",
                            "catches": 1,
                            "runout_thrower": 0,
                            "runout_catcher": 0,
                            "runout_direct_hit": 0,
                            "stumping": 0,
                            "is_substitute": "false"
                        }
                    ],
                    "fows": [
                        {
                            "batsman_id": "16622",
                            "runs": "0",
                            "balls": "15",
                            "how_out": "lbw b Shaheen Shah Afridi",
                            "score_at_dismissal": 1,
                            "overs_at_dismissal": "3.4",
                            "bowler_id": "92991",
                            "dismissal": "lbw",
                            "number": 1
                        },
                        {
                            "batsman_id": "44185",
                            "runs": "10",
                            "balls": "37",
                            "how_out": "c Haris Sohail b Yasir Shah",
                            "score_at_dismissal": 24,
                            "overs_at_dismissal": "11.4",
                            "bowler_id": "153",
                            "dismissal": "caught",
                            "number": 2
                        },
                        {
                            "batsman_id": "43607",
                            "runs": "4",
                            "balls": "34",
                            "how_out": "lbw b Yasir Shah",
                            "score_at_dismissal": 37,
                            "overs_at_dismissal": "20.1",
                            "bowler_id": "153",
                            "dismissal": "lbw",
                            "number": 3
                        },
                        {
                            "batsman_id": "33",
                            "runs": "22",
                            "balls": "14",
                            "how_out": "c Bilal Asif b Shaheen Shah Afridi",
                            "score_at_dismissal": 60,
                            "overs_at_dismissal": "23.5",
                            "bowler_id": "92991",
                            "dismissal": "caught",
                            "number": 4
                        }
                    ],
                    "last_wicket": {
                        "batsman_id": "33",
                        "runs": "22",
                        "balls": "14",
                        "how_out": "c Bilal Asif b Shaheen Shah Afridi",
                        "score_at_dismissal": 60,
                        "overs_at_dismissal": "23.5",
                        "bowler_id": "92991",
                        "dismissal": "caught",
                        "number": 4
                    },
                    "extra_runs": {
                        "byes": 5,
                        "legbyes": 1,
                        "wides": 0,
                        "noballs": 1,
                        "penalty": "",
                        "total": 7
                    },
                    "equations": {
                        "runs": 272,
                        "wickets": 4,
                        "overs": "104",
                        "bowlers_used": 6,
                        "runrate": "2.61"
                    },
                    "current_partnership": {
                        "runs": 212,
                        "balls": 481,
                        "overs": 80.1,
                        "batsmen": [
                            {
                                "batsman_id": 31,
                                "runs": 116,
                                "balls": 239
                            },
                            {
                                "batsman_id": 1967,
                                "runs": 90,
                                "balls": 242
                            }
                        ]
                    }
                }
            ],
            "players": [
                {
                    "pid": 31,
                    "title": "Kane Williamson",
                    "short_name": "KS Williamson",
                    "first_name": "Kane",
                    "last_name": "Williamson",
                    "middle_name": "Stuart",
                    "birthdate": "1990-08-08",
                    "birthplace": "",
                    "country": "nz",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm offbreak",
                    "fielding_position": "",
                    "recent_match": 23994,
                    "recent_appearance": 1514786400,
                    "fantasy_player_rating": 10,
                    "nationality": "New Zealand",
                    "role": "cap"
                },
                {
                    "pid": 33,
                    "title": "Ross Taylor",
                    "short_name": "LRPL Taylor",
                    "first_name": "Luteru",
                    "last_name": "Taylor",
                    "middle_name": "Ross Poutoa Lote",
                    "birthdate": "1984-03-08",
                    "birthplace": "",
                    "country": "nz",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm offbreak",
                    "fielding_position": "",
                    "recent_match": 0,
                    "recent_appearance": 0,
                    "fantasy_player_rating": 7.5,
                    "nationality": "New Zealand",
                    "role": "bat"
                }
            ],
            "odds_available": "true",
            "pre_match_odds": {
                "team": {
                    "home": {
                        "odds": "Pakistan"
                    },
                    "away": {
                        "odds": "New Zealand"
                    }
                },
                "3way": [
                    {
                        "bookmaker": {
                            "name": "Kambi2",
                            "url": "http://www.unibet.com"
                        },
                        "home": {
                            "odds": "1.60"
                        },
                        "draw": {
                            "odds": "6.75"
                        },
                        "away": {
                            "odds": "3.55"
                        },
                        "type": "3way"
                    },
                    {
                        "bookmaker": {
                            "name": "WilliamHill",
                            "url": "http://www.williamhill.co.uk"
                        },
                        "home": {
                            "odds": "1.53"
                        },
                        "draw": {
                            "odds": "6.00"
                        },
                        "away": {
                            "odds": "3.75"
                        },
                        "type": "3way"
                    },
                    {
                        "bookmaker": {
                            "name": "Bet365",
                            "url": "http://www.bet365.co.uk"
                        },
                        "home": {
                            "odds": "1.61"
                        },
                        "draw": {
                            "odds": "6.50"
                        },
                        "away": {
                            "odds": "3.60"
                        },
                        "type": "3way"
                    },
                    {
                        "bookmaker": {
                            "name": "Betfair",
                            "url": "http://www.betfair.com"
                        },
                        "home": {
                            "odds": "1.64"
                        },
                        "draw": {
                            "odds": "7.20"
                        },
                        "away": {
                            "odds": "3.70"
                        },
                        "layhome": {
                            "odds": "1.66"
                        },
                        "laydraw": {
                            "odds": "7.6"
                        },
                        "layaway": {
                            "odds": "3.9"
                        },
                        "type": "3way"
                    }
                ]
            }
        },
        "etag": "6e057dbcd7f853ce2ef598f1a2fd688f",
        "modified": "2018-12-06 14:00:47",
        "datetime": "2018-12-06 14:00:47",
        "api_version": "2.0"
    }
    
    

    Match Scorecard API provide full match scorecard details. This API point includes batting, bowling, fall of wickets, venue, umpires, time, toss information.

    Request

    Parameter Value Description
    token string API access token

    Response

    Reference

    Parameter Value Description
    match_id interger match id
    title string match name/title
    subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
    format interger numerical representation of match format. see match_formats reference.
    format_str string match format name
    status string numerical representation of match status. see match_statuss reference.
    status_str string match status name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
    pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
    game_state string numerical representation of match game_state. game state is available for live match only.
    game_state_str string match game_state name.
    competition array an array of parent competition details of the match, see competition object properties.
    team array an array of teams participating in the match, see team match properties.
    date_start date match start date in GMT(UTC +0)
    date_end date match end date in GMT(UTC +0)
    timestamp_start integer match start timestamp in GMT(UTC +0)
    timestamp_end integer match end timestamp in GMT(UTC +0)
    venue array an array of venue details of the match, see venue object properties.
    umpires string umpires of the match.
    referee string referee of the match.
    equation string match result condition.
    live string live match status note.
    result string result status note
    win_margin string match win margin.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    latest_inning_number interger latest or active innings number.
    toss array an array of toss details of the match, see toss object properties.
    current_over string current over runs.
    previous_over string last over runs.
    man_of_the_match object A set of of player objects. see man of the match object properties.
    man_of_the_series object A set of player objects. see man of the series object properties.
    is_followon interger numerical representation of followon or not for match.
    last_five_overs string runs scored and wicket lost in last 5 overs
    live_inning_number interger live inning number
    innings array an array of innings details. see innings object properties.
    players array an array of players details. see player object properties.
    odds_available string true = pre match odds available, false = pre match odds not available.
    pre_match_odds array An array pre match odds details.

    Competition Properties

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    type string competition type, possible values are tour, tournament, series
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    country string Country ISO Code

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    logo_url string team logo url
    scores_full string team full score
    scores string team score
    overs string overs played by team

    Venue Properties

    Parameter Value Description
    name string Venue name/title
    location string City Name
    timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

    Toss Properties

    Parameter Value Description
    text string Toss result text with team name
    winner integer team id of toss winning team
    decision integer numerical representation of decision made by toss winning team.

    Man of the Match/Series Properties

    Parameter Value Description
    pid integer player id
    name string player name
    thumb_url url player image url

    Innings Properties

    Parameter Value Description
    iid integer inning id
    number integer inning number
    name string inning name
    short_name string inning short name
    status integer numerical representation of inning status
    result integer numerical representation of inning result status
    batting_team_id integer team id of batting team
    fielding_team_id integer team id of fielding team
    scores string team score
    scores_full string team full score
    batsmen array an array of batsmen objects. see Batsmen Properties
    bowlers array an array of bowlers objects. see Bowlers Properties
    fielder array an array of fielders objects. see Fielder Properties
    fows array an array of fall of wicket object details. see fall of wickets Properties
    last_wicket object a set of last wicket object details. see last wicket Properties
    extra_runs object a set of extra runs object details extra runs object properties
    equations object a set of equations object details equation object properties
    current_partnership object a set of current partnership object details. see current partnership Properties

    Batsmen Properties

    Parameter Value Description
    batsman_id integer player id
    batting string true means batsman currently batting, false means batsman currently not batting
    position string striker, non-striker and empty if batting : false
    role string playing role
    role_str string playing role captain or wicketkeeper
    runs integer runs scored by batsman
    balls_faced integer balls faced by batsman
    fours integer number of fours runs scored by batsman
    sixes integer numbers of sixes runs scored by batsman
    run0 integer number of dot balls played by batsman
    run1 integer number of times 1 run taken by batsman
    run2 integer number of times 2 run taken by batsman
    run3 integer number of times 3 run taken by batsman
    run5 integer number of times 5 run taken by batsman
    how_out string batsman dismissal details
    dismissal string dismissal type
    strike_rate string strike rate of batsman
    bowler_id integer player id
    first_fielder integer First Fielder player id
    second_fielder integer Second Fielder player id
    third_fielder integer Third Fielder player id

    Bowlers Properties

    Parameter Value Description
    bowler_id integer player id
    bowling string true means bowler currently bowling, false means bowler currently not bowling
    position string active bowler : bowling active over, last bowler : bowled previous over and empty if bowling : false
    overs string Number of overs bowled by bowler
    maidens integer Number of maiden overs bowled by bowler
    runs_conceded integer Number of runs conceded by bowler
    wickets integer number of wickets taken by bowler
    noballs integer number of no balls bowled by bowler
    wides integer number of wides bowled by bowler
    econ string economy rate of bowler
    run0 integer number of dot balls bowled by bowler

    Fielder Properties

    Parameter Value Description
    fielder_id integer fielder id
    fielder_name string fielder name
    catches integer Number of catches taken by player in the innings
    runout_thrower integer Number of times fielder assisted as thrower in a runout dismissal
    runout_catcher integer Number of times fielder assisted as receiver of the ball from another fielder in a runout dismissal to take bails off the wickets
    runout_direct_hit integer number of times fielder created a direct hit runout dismissal
    is_substitutes string false if fielder is part of playing 11, true if fielder was fielding as substitute

    Fall of Wickets Properties

    Parameter Value Description
    batsman_id integer player id
    runs integer Number of runs scored by batsman
    balls integer number of balls balls faced by batsman
    how_out string batsman dismissal details
    score_at_dismissal integer team score at dismissal
    overs_at_dismissal string overs at dismissal
    bowler_id integer player id
    dismissal string dismissal type
    number integer wicket order number

    Last Wicket Properties

    Parameter Value Description
    batsman_id integer player id
    runs integer Number of runs scored by batsman
    balls integer number of balls balls faced by batsman
    how_out string batsman dismissal details
    score_at_dismissal integer team score at dismissal
    overs_at_dismissal string overs at dismissal
    bowler_id integer player id
    dismissal string dismissal type
    number integer wicket order number

    Extra Runs Properties

    Parameter Value Description
    byes integer byes runs
    legbyes integer legbyes runs
    wides integer wides runs
    noballs integer no balls runs
    penalty integer penalty runs
    total integer total extra runs

    Equation Properties

    Parameter Value Description
    runs integer total runs
    wickets integer total wickets
    overs string total overs bowled in inning
    bowlers_used integer total bowlers used
    runrate string inning run rate

    Current Partnership Properties

    Parameter Value Description
    runs integer Total runs scored in partnership
    balls integer number of balls faced by batsman during partnership
    overs string number of overs for partnership
    batsmen array an array of batsmen details participating in partnership see batsmen partership properties

    Batsmen Partnership Properties

    Parameter Value Description
    batsman_id integer player id
    runs integer runs scored by batsman
    balls integer balls faced by batsman

    Player Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating
    role string match playing role

    Match Innings Commentary API

    curl -X GET "https://rest.entitysport.com/v2/matches/19899/innings/1/commentary?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "match": {
                "status": 2,
                "game_state": 0
            },
            "inning": {
                "iid": 43691,
                "number": 1,
                "name": "India inning",
                "short_name": "INDIA inn.",
                "status": 2,
                "result": 0,
                "batting_team_id": 25,
                "fielding_team_id": 21,
                "scores": "375/5",
                "scores_full": "375/5 (50 ov)",
                "batsmen": [
                    {
                        "batsman_id": "115",
                        "role": "bat",
                        "role_str": "",
                        "runs": "104",
                        "balls_faced": "88",
                        "fours": "11",
                        "sixes": "3",
                        "how_out": "c N Dickwella b AD Mathews",
                        "dismissal": "cought",
                        "strike_rate": "118.18"
                    },
                    {
                        "batsman_id": "117",
                        "role": "bat",
                        "role_str": "",
                        "runs": "4",
                        "balls_faced": "6",
                        "fours": "1",
                        "sixes": "0",
                        "how_out": "c PM Pushpakumara b MVT Fernando",
                        "dismissal": "cought",
                        "strike_rate": "66.66"
                    },
                    {
                        "batsman_id": "119",
                        "role": "cap",
                        "role_str": " (C)",
                        "runs": "131",
                        "balls_faced": "96",
                        "fours": "17",
                        "sixes": "2",
                        "how_out": "c EMDY Munaweera b SL Malinga",
                        "dismissal": "cought",
                        "strike_rate": "136.45"
                    },
                    {
                        "batsman_id": "727",
                        "role": "all",
                        "role_str": "",
                        "runs": "19",
                        "balls_faced": "18",
                        "fours": "1",
                        "sixes": "1",
                        "how_out": "c PWH de Silva b AD Mathews",
                        "dismissal": "cought",
                        "strike_rate": "105.55"
                    },
                    {
                        "batsman_id": "661",
                        "role": "bat",
                        "role_str": "",
                        "runs": "7",
                        "balls_faced": "8",
                        "fours": "0",
                        "sixes": "0",
                        "how_out": "c PWH de Silva b A Dananjaya",
                        "dismissal": "cought",
                        "strike_rate": "87.50"
                    },
                    {
                        "batsman_id": "597",
                        "role": "bat",
                        "role_str": "",
                        "runs": "50",
                        "balls_faced": "42",
                        "fours": "4",
                        "sixes": "0",
                        "how_out": "not out",
                        "dismissal": "",
                        "strike_rate": "119.04"
                    },
                    {
                        "batsman_id": "123",
                        "role": "wk",
                        "role_str": " (WK)",
                        "runs": "49",
                        "balls_faced": "42",
                        "fours": "5",
                        "sixes": "1",
                        "how_out": "not out",
                        "dismissal": "",
                        "strike_rate": "116.66"
                    }
                ],
                "bowlers": [
                    {
                        "bowler_id": "67",
                        "overs": "10.0",
                        "maidens": "0",
                        "runs_conceded": "82",
                        "wickets": "1",
                        "noballs": "0",
                        "wides": "6",
                        "econ": "8.20"
                    },
                    {
                        "bowler_id": "43985",
                        "overs": "8.0",
                        "maidens": "1",
                        "runs_conceded": "76",
                        "wickets": "1",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "9.50"
                    },
                    {
                        "bowler_id": "59",
                        "overs": "6.0",
                        "maidens": "2",
                        "runs_conceded": "24",
                        "wickets": "2",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "4.00"
                    },
                    {
                        "bowler_id": "43743",
                        "overs": "9.0",
                        "maidens": "0",
                        "runs_conceded": "65",
                        "wickets": "0",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "7.22"
                    },
                    {
                        "bowler_id": "43682",
                        "overs": "10.0",
                        "maidens": "0",
                        "runs_conceded": "68",
                        "wickets": "1",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "6.80"
                    },
                    {
                        "bowler_id": "1140",
                        "overs": "2.0",
                        "maidens": "0",
                        "runs_conceded": "19",
                        "wickets": "0",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "9.50"
                    },
                    {
                        "bowler_id": "1732",
                        "overs": "5.0",
                        "maidens": "0",
                        "runs_conceded": "36",
                        "wickets": "0",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "7.20"
                    }
                ]
            },
            "commentaries": [
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 67,
                    "over": "0",
                    "ball": "1",
                    "score": 0,
                    "commentary": "SL Malinga to RG Sharma, no run"
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 67,
                    "over": "0",
                    "ball": "2",
                    "score": 0,
                    "commentary": "SL Malinga to RG Sharma, no run"
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 67,
                    "over": "0",
                    "ball": "3",
                    "score": 1,
                    "commentary": "SL Malinga to RG Sharma, 1 run"
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 67,
                    "over": "0",
                    "ball": "4",
                    "score": 4,
                    "commentary": "SL Malinga to S Dhawan, Four"
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 67,
                    "over": "0",
                    "ball": "5",
                    "score": 0,
                    "commentary": "SL Malinga to S Dhawan, no run"
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 67,
                    "over": "0",
                    "ball": "6",
                    "score": "1lb",
                    "commentary": "SL Malinga to S Dhawan, 1 leg bye"
                },
                {
                    "event": "overend",
                    "over": 1,
                    "runs": 5,
                    "score": "6/0",
                    "bats": [
                        {
                            "runs": 1,
                            "balls_faced": 3,
                            "fours": 0,
                            "sixes": 0,
                            "batsman_id": 115
                        },
                        {
                            "runs": 4,
                            "balls_faced": 3,
                            "fours": 1,
                            "sixes": 0,
                            "batsman_id": 117
                        }
                    ],
                    "bowls": [
                        {
                            "runs_conceded": 6,
                            "overs": 1,
                            "wickets": 0,
                            "maidens": 0,
                            "bowler_id": 67
                        }
                    ],
                    "commentary": "End of over 1 (5 runs), India 6/0"
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43985,
                    "over": "1",
                    "ball": "1",
                    "score": 0,
                    "commentary": "MVT Fernando to S Dhawan, no run"
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43985,
                    "over": "1",
                    "ball": "2",
                    "score": 0,
                    "commentary": "MVT Fernando to S Dhawan, no run"
                },
                {
                    "event": "wicket",
                    "batsman_id": 117,
                    "bowler_id": 43985,
                    "over": "1",
                    "ball": "3",
                    "score": "w",
                    "commentary": "MVT Fernando to S Dhawan, no run",
                    "wicket_batsman_id": "117",
                    "how_out": "c PM Pushpakumara b MVT Fernando",
                    "batsman_runs": "4",
                    "batsman_balls": "6"
                },
                {
                    "event": "ball",
                    "batsman_id": 119,
                    "bowler_id": 43985,
                    "over": "1",
                    "ball": "4",
                    "score": 0,
                    "commentary": "MVT Fernando to V Kohli, no run"
                },
                {
                    "event": "ball",
                    "batsman_id": 119,
                    "bowler_id": 43985,
                    "over": "1",
                    "ball": "5",
                    "score": 0,
                    "commentary": "MVT Fernando to V Kohli, no run"
                },
                {
                    "event": "ball",
                    "batsman_id": 119,
                    "bowler_id": 43985,
                    "over": "1",
                    "ball": "6",
                    "score": 0,
                    "commentary": "MVT Fernando to V Kohli, no run"
                },
                {
                    "event": "overend",
                    "over": 2,
                    "runs": 0,
                    "score": "6/1",
                    "bats": [
                        {
                            "runs": 1,
                            "balls_faced": 3,
                            "fours": 0,
                            "sixes": 0,
                            "batsman_id": 115
                        },
                        {
                            "runs": 0,
                            "balls_faced": 3,
                            "fours": 0,
                            "sixes": 0,
                            "batsman_id": 119
                        }
                    ],
                    "bowls": [
                        {
                            "runs_conceded": 0,
                            "overs": 1,
                            "wickets": 1,
                            "maidens": 1,
                            "bowler_id": 43985
                        },
                        {
                            "runs_conceded": 6,
                            "overs": 1,
                            "wickets": 0,
                            "maidens": 0,
                            "bowler_id": 67
                        }
                    ],
                    "commentary": "End of over 2 (Maiden), India 6/1"
                }
            ],
            "teams": [
                {
                    "tid": 21,
                    "title": "Sri Lanka",
                    "players": [],
                    "abbr": "SL",
                    "thumb_url": "../assets/uploads/2016/01/sri-lanka.png",
                    "logo_url": "../assets/uploads/2016/01/sri-lanka-32x32.png",
                    "type": "country",
                    "country": "lk",
                    "alt_name": "Sri Lanka"
                },
                {
                    "tid": 25,
                    "title": "India",
                    "players": [],
                    "abbr": "INDIA",
                    "thumb_url": "../assets/uploads/2016/01/india.png",
                    "logo_url": "../assets/uploads/2016/01/india-32x32.png",
                    "type": "country",
                    "country": "in",
                    "alt_name": "India"
                }
            ],
            "players": [
                {
                    "pid": 49,
                    "title": "Lahiru Thirimanne",
                    "short_name": "HDRL Thirimanne",
                    "first_name": "Hettige",
                    "last_name": "Thirimanne",
                    "middle_name": "Don Rumesh Lahiru",
                    "birthdate": "1989-08-09",
                    "birthplace": "",
                    "country": "lk",
                    "primary_team": [],
                    "thumb_url": "../assets/uploads/2016/01/thirimanne-120x120.jpg",
                    "logo_url": "../assets/uploads/2016/01/thirimanne-32x32.jpg",
                    "playing_role": "bat",
                    "batting_style": "LHB",
                    "bowling_style": "Right-arm medium-fast",
                    "fielding_position": "",
                    "recent_match": 19898,
                    "recent_appearance": 1503824400,
                    "role": "bat"
                },
                {
                    "pid": 59,
                    "title": "Angelo Mathews",
                    "short_name": "AD Mathews",
                    "first_name": "Angelo",
                    "last_name": "Mathews",
                    "middle_name": "Davis",
                    "birthdate": "1987-06-02",
                    "birthplace": "",
                    "country": "lk",
                    "primary_team": [],
                    "thumb_url": "../assets/uploads/2017/07/angelo-mathews-120x120.png",
                    "logo_url": "../assets/uploads/2017/07/angelo-mathews-32x32.png",
                    "playing_role": "all",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm medium",
                    "fielding_position": "",
                    "recent_match": 17773,
                    "recent_appearance": 1496914200,
                    "role": "all"
                }
            ]
        },
        "etag": "c432d189fb8daa89c33d22f686d78da7",
        "modified": "2017-09-02 04:52:52",
        "datetime": "2017-09-02 04:52:52",
        "api_version": "2.0"
    }
    

    Match Innings Commentary API provide single inning ball by ball details.

    Request

    Parameter Value Description
    token string API access token

    Response

    Reference

    Parameter Value Description
    match object match object details see match object properties.
    inning object inning object details see inning object properties.
    commentaries array an array of commentary object details see commentary object properties.
    teams array an array of teams object details see team object properties.
    players array an array of player details objects see player object properties.

    Commentary Match Object Properties

    Parameter Value Description
    status integer numerical representation of match status
    game_state integer numerical representation of game state

    Inning Object Properties

    Parameter Value Description
    iid integer inning id
    number integer inning number
    name string inning name
    short_name string inning short name
    status integer numerical representation of inning status
    result integer numerical representation of result
    batting_team_id integer team id of batting team
    fielding_team_id integer team id of fielding team
    scores string team score
    scores_full string team full score
    batsmen array an array of batsmen object details. see batsman Properties
    bowlers array an array of bowlers object details. see bowler Properties

    Batsmen Properties

    Parameter Value Description
    batsman_id integer player id
    role string playing role
    role_str string playing role captain or wicketkeeper
    runs integer runs scored by batsman
    balls_faced integer balls faced by batsman
    fours integer number of fours runs scored by batsman
    sixes integer numbers of sixes runs scored by batsman
    how_out string batsman dismissal details
    dismissal string dismissal type
    strike_rate string strike rate of batsman

    Bowlers Properties

    Parameter Value Description
    bowler_id integer player id
    overs string Number of overs bowled by bowler
    maidens integer Number of maiden overs bowled by bowler
    runs_conceded integer Number of runs conceded by bowler
    wickets integer number of wickets taken by bowler
    noballs integer number of no balls bowled by bowler
    wides integer number of wides bowled by bowler
    econ string economy rate of bowler

    Commentary Properties

    When event is overend.

    Parameter Value Description
    event string event overend
    over string overs bowled
    runs string run scored in over
    score string team score
    bats object a set of batsman object
    bowls string a set of bowler object
    commentary string commentary text

    When event is ball.

    Parameter Value Description
    event string event overend
    batsman_id integer playing batsman id
    bowler_id integer playing bowler id
    over string overs bowled
    ball integer nth ball of the over
    score integer run scored on the ball
    commentary string commentary text

    When event is wicket.

    Parameter Value Description
    event string event overend
    batsman_id integer playing batsman id
    bowler_id integer playing bowler id
    over string overs bowled
    ball integer nth ball of the over
    score integer run scored on the ball
    commentary string commentary text
    how_out string dismissal of batsman
    wicket_batsman_id integer id of dismissed batsman
    batsman_runs integer runs scored by batsman in this inning
    batsman_balls integer balls faced by batsman in this inning

    Teams object properties

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    type string team type Country(International Team) or Club
    country string Country ISO Code
    alt_name string team alternative name

    Player Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    role string playing role

    Match Live API

    curl -X GET "https://rest.entitysport.com/v2/matches/19899/live?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "mid": 40152,
            "status": 3,
            "status_str": "Live",
            "game_state": 3,
            "game_state_str": "Play Ongoing",
            "status_note": "  India won the toss and elected to bat",
            "team_batting": "India",
            "team_bowling": "Australia",
            "live_inning_number": 1,
            "live_score": {
                "runs": 12,
                "overs": 2.5,
                "wickets": 0,
                "target": 0,
                "runrate": 4.23,
                "required_runrate": ""
            },
            "batsmen": [
                {
                    "name": "RG Sharma",
                    "batsman_id": 115,
                    "runs": 2,
                    "balls_faced": 7,
                    "fours": 0,
                    "sixes": 0,
                    "strike_rate": "28.57"
                },
                {
                    "name": "S Dhawan",
                    "batsman_id": 117,
                    "runs": 10,
                    "balls_faced": 10,
                    "fours": 2,
                    "sixes": 0,
                    "strike_rate": "100.00"
                }
            ],
            "bowlers": [
                {
                    "name": "PJ Cummins",
                    "bowler_id": 388,
                    "overs": 1.5,
                    "runs_conceded": 12,
                    "wickets": 0,
                    "maidens": 0,
                    "econ": "6.55"
                },
                {
                    "name": "JP Behrendorff",
                    "bowler_id": 43582,
                    "overs": 1,
                    "runs_conceded": 0,
                    "wickets": 0,
                    "maidens": 1,
                    "econ": 0
                }
            ],
            "commentary": 1,
            "wagon": 1,
            "commentaries": [
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 388,
                    "over": "0",
                    "ball": "1",
                    "score": 0,
                    "commentary": "PJ Cummins to RG Sharma, no run, length ball angles into the body, play defensive shot",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 388,
                    "over": "0",
                    "ball": "2",
                    "score": 1,
                    "commentary": "PJ Cummins to RG Sharma, 1 run, drives it comes down the ground to mid on",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 388,
                    "over": "0",
                    "ball": "3",
                    "score": 4,
                    "commentary": "PJ Cummins to S Dhawan, Four, full, flicks it to leg side",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 388,
                    "over": "0",
                    "ball": "4",
                    "score": 1,
                    "commentary": "PJ Cummins to S Dhawan, 1 run, taps it to cover",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 388,
                    "over": "0",
                    "ball": "5",
                    "score": 0,
                    "commentary": "PJ Cummins to RG Sharma, no run, play defensive shot drops short from the fielder",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 388,
                    "over": "0",
                    "ball": "6",
                    "score": 0,
                    "commentary": "PJ Cummins to RG Sharma, no run, drives it to cover",
                    "noball_dismissal": false
                },
                {
                    "event": "overend",
                    "over": 1,
                    "runs": 6,
                    "score": "6/0",
                    "bats": [
                        {
                            "runs": 1,
                            "balls_faced": 4,
                            "fours": 0,
                            "sixes": 0,
                            "batsman_id": 115
                        },
                        {
                            "runs": 5,
                            "balls_faced": 2,
                            "fours": 1,
                            "sixes": 0,
                            "batsman_id": 117
                        }
                    ],
                    "bowls": [
                        {
                            "runs_conceded": 6,
                            "overs": 1,
                            "wickets": 0,
                            "maidens": 0,
                            "bowler_id": 388
                        }
                    ],
                    "commentary": "End of over 1 (6 runs), India 6/0"
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43582,
                    "over": "1",
                    "ball": "1",
                    "score": 0,
                    "commentary": "JP Behrendorff to S Dhawan, no run, length ball outside off",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43582,
                    "over": "1",
                    "ball": "2",
                    "score": 0,
                    "commentary": "JP Behrendorff to S Dhawan, no run, outside off",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43582,
                    "over": "1",
                    "ball": "3",
                    "score": 0,
                    "commentary": "JP Behrendorff to S Dhawan, no run, taps it to mid wicket",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43582,
                    "over": "1",
                    "ball": "4",
                    "score": 0,
                    "commentary": "JP Behrendorff to S Dhawan, no run, drives it to long on to mid on",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43582,
                    "over": "1",
                    "ball": "5",
                    "score": 0,
                    "commentary": "JP Behrendorff to S Dhawan, no run, inside edge",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 43582,
                    "over": "1",
                    "ball": "6",
                    "score": 0,
                    "commentary": "JP Behrendorff to S Dhawan, no run, outside off",
                    "noball_dismissal": false
                },
                {
                    "event": "overend",
                    "over": 2,
                    "runs": 0,
                    "score": "6/0",
                    "bats": [
                        {
                            "runs": 1,
                            "balls_faced": 4,
                            "fours": 0,
                            "sixes": 0,
                            "batsman_id": 115
                        },
                        {
                            "runs": 5,
                            "balls_faced": 8,
                            "fours": 1,
                            "sixes": 0,
                            "batsman_id": 117
                        }
                    ],
                    "bowls": [
                        {
                            "runs_conceded": 0,
                            "overs": 1,
                            "wickets": 0,
                            "maidens": 1,
                            "bowler_id": 43582
                        },
                        {
                            "runs_conceded": 6,
                            "overs": 1,
                            "wickets": 0,
                            "maidens": 0,
                            "bowler_id": 388
                        }
                    ],
                    "commentary": "End of over 2 (Maiden), India 6/0"
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 388,
                    "over": "2",
                    "ball": "1",
                    "score": 1,
                    "commentary": "PJ Cummins to RG Sharma, 1 run, outside off, to point to third man",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 388,
                    "over": "2",
                    "ball": "2",
                    "score": 4,
                    "commentary": "PJ Cummins to S Dhawan, Four, full, on leg stump, drives it to mid wicket",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 117,
                    "bowler_id": 388,
                    "over": "2",
                    "ball": "3",
                    "score": 1,
                    "commentary": "PJ Cummins to S Dhawan, 1 run, taps it",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 388,
                    "over": "2",
                    "ball": "4",
                    "score": 0,
                    "commentary": "PJ Cummins to RG Sharma, no run, going down leg, beaten",
                    "noball_dismissal": false
                },
                {
                    "event": "ball",
                    "batsman_id": 115,
                    "bowler_id": 388,
                    "over": "2",
                    "ball": "5",
                    "score": 0,
                    "commentary": "PJ Cummins to RG Sharma, no run, drives it to cover",
                    "noball_dismissal": false
                }
            ],
            "live_inning": {
                "iid": 92654,
                "number": 1,
                "name": "India inning",
                "short_name": "IND inn.",
                "status": 3,
                "result": 0,
                "batting_team_id": 25,
                "fielding_team_id": 5,
                "scores": "12/0",
                "scores_full": "12/0 (2.4 ov)",
                "fielder": [],
                "last_wicket": false,
                "extra_runs": {
                    "byes": 0,
                    "legbyes": 0,
                    "wides": 0,
                    "noballs": 0,
                    "penalty": "",
                    "total": 0
                },
                "equations": {
                    "runs": 12,
                    "wickets": 0,
                    "overs": "2.4",
                    "bowlers_used": 2,
                    "runrate": "4.50"
                },
                "current_partnership": {
                    "runs": 12,
                    "balls": 17,
                    "overs": 2.5,
                    "batsmen": [
                        {
                            "name": "Rohit Sharma",
                            "batsman_id": 115,
                            "runs": 2,
                            "balls": 7
                        },
                        {
                            "name": "Shikhar Dhawan",
                            "batsman_id": 117,
                            "runs": 10,
                            "balls": 10
                        }
                    ]
                },
                "did_not_bat": [],
                "recent_scores": "0,0,1,4,1,0,0,0,0,0,0,0,0,1,4,1,0",
                "last_five_overs": "12/0 4.24",
                "last_ten_overs": "12/0 4.24"
            },
            "players": [
                {
                    "pid": 73,
                    "title": "Aaron Finch",
                    "short_name": "AJ Finch",
                    "first_name": "Aaron",
                    "last_name": "Finch",
                    "middle_name": "James",
                    "birthdate": "1986-11-17",
                    "birthplace": "",
                    "country": "au",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Slow left-arm orthodox",
                    "fielding_position": "",
                    "recent_match": 18970,
                    "recent_appearance": 1515900000,
                    "fantasy_player_rating": 10.5,
                    "nationality": "Australia",
                    "role": "cap"
                },
                {
                    "pid": 81,
                    "title": "Glenn Maxwell",
                    "short_name": "GJ Maxwell",
                    "first_name": "Glenn",
                    "last_name": "Maxwell",
                    "middle_name": "James",
                    "birthdate": "1988-10-14",
                    "birthplace": "",
                    "country": "au",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm offbreak",
                    "fielding_position": "",
                    "recent_match": 18974,
                    "recent_appearance": 1517109600,
                    "fantasy_player_rating": 9,
                    "nationality": "Australia",
                    "role": "all"
                },
                {
                    "pid": 115,
                    "title": "Rohit Sharma",
                    "short_name": "RG Sharma",
                    "first_name": "Rohit",
                    "last_name": "Sharma",
                    "middle_name": "Gurunath",
                    "birthdate": "1987-04-30",
                    "birthplace": "",
                    "country": "in",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm offbreak",
                    "fielding_position": "",
                    "recent_match": 0,
                    "recent_appearance": 0,
                    "fantasy_player_rating": 10.5,
                    "nationality": "India",
                    "role": "bat"
                },
                {
                    "pid": 117,
                    "title": "Shikhar Dhawan",
                    "short_name": "S Dhawan",
                    "first_name": "Shikhar",
                    "last_name": "Dhawan",
                    "middle_name": "",
                    "birthdate": "1985-12-05",
                    "birthplace": "",
                    "country": "in",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "LHB",
                    "bowling_style": "Right-arm offbreak",
                    "fielding_position": "",
                    "recent_match": 0,
                    "recent_appearance": 0,
                    "fantasy_player_rating": 10,
                    "nationality": "India",
                    "role": "bat"
                }
            ]
        },
        "etag": "b59a8d1c1538c10e12999be6958650e9",
        "modified": "2019-03-10 08:12:09",
        "datetime": "2019-03-10 08:12:09",
        "api_version": "2.0"
    }
    

    Match Live API provide access to live match updates of active inning. This API point provide fastest update of live inning of the match.

    Request

    Parameter Value Description
    token string API access token

    Response

    Reference

    Parameter Value Description
    mid interger match id
    format interger numerical representation of match format. see match_formats reference.
    format_str string match format name
    status string numerical representation of match status. see match_statuss reference.
    status_str string match status name.
    game_state string numerical representation of match game_state. game state is available for live match only.
    game_state_str string match game_state name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    team_batting string team name
    team_bowling string team name
    live_inning_number integer live inning number
    live_score object a set of live inning score details objects see live score object properties.
    batsmen object a set of active batsmen details objects see batsmen object properties.
    bowlers object a set of active bowlers details objects see bowler object properties.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    commentaries object a set of commentary details objects see commentaries object properties.
    live_inning object a set of live inning details objects see live_inning object properties.
    players array an array of player details objects see player object properties.

    live_score object Properties

    Parameter Value Description
    runs integer total runs scored in inning
    overs string total overs bowled in inning
    wickets integer number of wickets fallen in inning
    target integer target of the match
    runrate string run rate of the inning

    Batsmen Properties

    Parameter Value Description
    name string player name
    batsman_id integer player id
    runs integer runs scored by batsman
    balls_faced integer balls faced by batsman
    fours integer number of fours runs scored by batsman
    sixes integer numbers of sixes runs scored by batsman
    strike_rate string strike rate of batsman

    Bowlers Properties

    Parameter Value Description
    bowler_id integer player id
    overs string Number of overs bowled by bowler
    runs_conceded integer Number of runs conceded by bowler
    wickets integer number of wickets taken by bowler
    maidens integer Number of maiden overs bowled by bowler
    econ string economy rate of bowler

    Commentary Properties

    When event is overend.

    Parameter Value Description
    event string event overend
    over string overs bowled
    runs string run scored in over
    score string team score
    bats object a set of batsman object
    bowls string a set of bowler object
    commentary string commentary text

    When event is ball.

    Parameter Value Description
    event string event overend
    batsman_id integer playing batsman id
    bowler_id integer playing bowler id
    over string overs bowled
    ball integer nth ball of the over
    score integer run scored on the ball
    commentary string commentary text

    When event is wicket.

    Parameter Value Description
    event string event overend
    batsman_id integer playing batsman id
    bowler_id integer playing bowler id
    over string overs bowled
    ball integer nth ball of the over
    score integer run scored on the ball
    commentary string commentary text
    how_out string dismissal of batsman
    wicket_batsman_id integer id of dismissed batsman
    batsman_runs integer runs scored by batsman in this inning
    batsman_balls integer balls faced by batsman in this inning

    live_inning Properties

    Parameter Value Description
    iid integer inning id
    number integer inning number
    name string inning name
    short_name string inning short name
    status integer numerical representation of inning status
    result integer numerical representation of inning result status
    batting_team_id integer team id of batting team
    fielding_team_id integer team id of fielding team
    scores string team score
    scores_full string team full score
    last_wicket object a set of last wicket object details. see last wicket Properties
    extra_runs object a set of extra runs object details extra runs object properties
    equations object a set of equations object details equation object properties
    current_partnership object a set of current partnership object details. see current partnership Properties
    recent_overs string recent overs events
    last_five_overs string last 5 overs runs,wickets and runrate
    last_ten_overs string last 10 overs runs,wickets and runrate

    Last Wicket Properties

    Parameter Value Description
    batsman_id integer player id
    runs integer Number of runs scored by batsman
    balls integer number of balls balls faced by batsman
    how_out string batsman dismissal details
    score_at_dismissal integer team score at dismissal
    overs_at_dismissal string overs at dismissal
    bowler_id integer player id
    dismissal string dismissal type
    number integer wicket order number

    Extra Runs Properties

    Parameter Value Description
    byes integer byes runs
    legbyes integer legbyes runs
    wides integer wides runs
    noballs integer no balls runs
    penalty integer penalty runs
    total integer total extra runs

    Equation Properties

    Parameter Value Description
    runs integer total runs
    wickets integer total wickets
    overs string total overs bowled in inning
    bowlers_used integer total bowlers used
    runrate string inning run rate

    Current Partnership Properties

    Parameter Value Description
    runs integer Total runs scored in partnership
    balls integer number of balls faced by batsman during partnership
    overs string number of overs for partnership
    batsmen array an array of batsmen details participating in partnership see batsmen partership properties

    Batsmen Partnership Properties

    Parameter Value Description
    name string player name
    batsman_id integer player id
    runs integer runs scored by batsman
    balls integer balls faced by batsman

    Player Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating
    role string match playing role

    Fantasy Match Roaster API

    curl -X GET "https://rest.entitysport.com/v2/competitions/111301/squads/38481?token=[ACCESS_TOKEN]
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "squad_type": "per_match",
            "squads": [
                {
                    "team_id": "5",
                    "title": "Australia 4th Test",
                    "players": [
                        {
                            "pid": 73,
                            "title": "Aaron Finch",
                            "short_name": "AJ Finch",
                            "first_name": "Aaron",
                            "last_name": "Finch",
                            "middle_name": "James",
                            "birthdate": "1986-11-17",
                            "birthplace": "",
                            "country": "au",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Slow left-arm orthodox",
                            "fielding_position": "",
                            "recent_match": 18970,
                            "recent_appearance": 1515900000,
                            "fantasy_player_rating": 8.5,
                            "nationality": "Australia"
                        },
                        {
                            "pid": 83,
                            "title": "Mitchell Marsh",
                            "short_name": "MR Marsh",
                            "first_name": "Mitchell",
                            "last_name": "Marsh",
                            "middle_name": "Ross",
                            "birthdate": "1991-10-20",
                            "birthplace": "",
                            "country": "au",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "all",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm medium",
                            "fielding_position": "",
                            "recent_match": 18968,
                            "recent_appearance": 1514244600,
                            "fantasy_player_rating": 8.5,
                            "nationality": "Australia"
                        }
                    ],
                    "team": {
                        "tid": 5,
                        "title": "Australia",
                        "abbr": "AUS",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/australia.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/australia-32x32.png",
                        "type": "country",
                        "country": "au",
                        "alt_name": "Australia",
                        "sex": "male"
                    }
                },
                {
                    "team_id": "25",
                    "title": "India 3rd Test, 4th Test",
                    "players": [
                        {
                            "pid": 115,
                            "title": "Rohit Sharma",
                            "short_name": "RG Sharma",
                            "first_name": "Rohit",
                            "last_name": "Sharma",
                            "middle_name": "Gurunath",
                            "birthdate": "1987-04-30",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm offbreak",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 10,
                            "nationality": "India"
                        },
                        {
                            "pid": 119,
                            "title": "Virat Kohli",
                            "short_name": "V Kohli",
                            "first_name": "Virat",
                            "last_name": "Kohli",
                            "middle_name": "",
                            "birthdate": "1988-11-05",
                            "birthplace": "",
                            "country": "in",
                            "primary_team": [],
                            "thumb_url": "",
                            "logo_url": "",
                            "playing_role": "bat",
                            "batting_style": "Right-hand bat",
                            "bowling_style": "Right-arm medium",
                            "fielding_position": "",
                            "recent_match": 0,
                            "recent_appearance": 0,
                            "fantasy_player_rating": 11,
                            "nationality": "India"
                        }
                    ],
                    "team": {
                        "tid": 25,
                        "title": "India",
                        "abbr": "IND",
                        "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                        "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                        "type": "country",
                        "country": "in",
                        "alt_name": "India",
                        "sex": "male"
                    }
                }
            ]
        },
        "etag": "12acd05fffc4a299aeeb3e7ab4db65c2",
        "modified": "2019-01-15 18:47:55",
        "datetime": "2019-01-15 18:47:55",
        "api_version": "2.0"
    }
    
    

    Fantasy Match Roaster API provides information of player roaster for 2 teams of a match i.e. part of respective competition. When using this API match id(mid) needs to be passed for desired competition match squad.

    Purpose of this API is to provide managed Cricket fantasy credit and player role. Cricket Fantasy application must use this API for roaster of the both teams.

    Player credit and playing role won't change once pre_squad: "true".

    Request

    Parameter Value Description
    cid integer competition id
    mid integer match id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    team_id integer team id of respective team squad
    title string Team matches title
    players array an array of player details of the team, see player object properties.
    team array an array of team details, see team object properties.

    Team Properties

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    type string team type Country(International Team) or Club
    country string Country ISO Code
    alt_name string team alternative name

    Player Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating

    Match Squads API

    curl -X GET "https://rest.entitysport.com/v2/matches/19899/squads?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "teama": {
                "team_id": 23,
                "squads": [
                    {
                        "player_id": "342",
                        "role": "bat",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "37360",
                        "role": "bat",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "348",
                        "role": "all",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "350",
                        "role": "wk",
                        "role_str": " (WK)",
                        "playing11": "true"
                    },
                    {
                        "player_id": "1741",
                        "role": "bat",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "346",
                        "role": "all",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "37352",
                        "role": "bat",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "1018",
                        "role": "all",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "354",
                        "role": "cap",
                        "role_str": " (C)",
                        "playing11": "true"
                    },
                    {
                        "player_id": "358",
                        "role": "bowl",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "1745",
                        "role": "bowl",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "1767",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "37374",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "1017",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "37442",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "356",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    }
                ]
            },
            "teamb": {
                "team_id": 21,
                "squads": [
                    {
                        "player_id": "444",
                        "role": "bat",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "43953",
                        "role": "bat",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "460",
                        "role": "wk",
                        "role_str": " (WK)",
                        "playing11": "true"
                    },
                    {
                        "player_id": "43745",
                        "role": "all",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "59",
                        "role": "cap",
                        "role_str": " (C)",
                        "playing11": "true"
                    },
                    {
                        "player_id": "1734",
                        "role": "all",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "410",
                        "role": "all",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "43788",
                        "role": "all",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "69",
                        "role": "bowl",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "43853",
                        "role": "bowl",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "67",
                        "role": "bowl",
                        "role_str": "",
                        "playing11": "true"
                    },
                    {
                        "player_id": "462",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "43682",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "1763",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "43961",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    },
                    {
                        "player_id": "44001",
                        "role": "squad",
                        "role_str": "",
                        "playing11": "false"
                    }
                ]
            },
            "teams": [
                {
                    "tid": 21,
                    "title": "Sri Lanka",
                    "abbr": "SL",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/sri-lanka.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/sri-lanka-32x32.png",
                    "type": "country",
                    "country": "lk",
                    "alt_name": "Sri Lanka"
                },
                {
                    "tid": 23,
                    "title": "Bangladesh",
                    "abbr": "BDESH",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/bangladesh.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/bangladesh-32x32.png",
                    "type": "country",
                    "country": "bd",
                    "alt_name": "Bangladesh"
                }
            ],
            "players": [
                {
                    "pid": 59,
                    "title": "Angelo Mathews",
                    "short_name": "AD Mathews",
                    "first_name": "Angelo",
                    "last_name": "Mathews",
                    "middle_name": "Davis",
                    "birthdate": "1987-06-02",
                    "birthplace": "",
                    "country": "lk",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "all",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm medium",
                    "fielding_position": "",
                    "recent_match": 37264,
                    "recent_appearance": 1513949400
                },
                {
                    "pid": 67,
                    "title": "Lasith Malinga",
                    "short_name": "SL Malinga",
                    "first_name": "Separamadu",
                    "last_name": "Malinga",
                    "middle_name": "Lasith",
                    "birthdate": "1983-08-28",
                    "birthplace": "",
                    "country": "lk",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bowl",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm fast",
                    "fielding_position": "",
                    "recent_match": 0,
                    "recent_appearance": 0
                },
                {
                    "pid": 69,
                    "title": "Suranga Lakmal",
                    "short_name": "RAS Lakmal",
                    "first_name": "Ranasinghe",
                    "last_name": "Lakmal",
                    "middle_name": "Arachchige Suranga",
                    "birthdate": "1987-03-10",
                    "birthplace": "",
                    "country": "lk",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bowl",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Right-arm fast-medium",
                    "fielding_position": "",
                    "recent_match": 0,
                    "recent_appearance": 0
                },
                {
                    "pid": 342,
                    "title": "Tamim Iqbal",
                    "short_name": "Tamim Iqbal",
                    "first_name": "Tamim",
                    "last_name": "Khan",
                    "middle_name": "Iqbal",
                    "birthdate": "1989-03-20",
                    "birthplace": "",
                    "country": "bd",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "LHB",
                    "bowling_style": "",
                    "fielding_position": "",
                    "recent_match": 0,
                    "recent_appearance": 0
                }
            ]
        },
        "etag": "a85b240a4c6c0241a1c5db201582b232",
        "modified": "2018-09-15 18:42:05",
        "datetime": "2018-09-25 06:35:34",
        "api_version": "2.0"
    }
    

    Provides information of a Match Squads.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    teama object a set of teama object details see teama objects
    teamb object a set of teama object details see teamb objects
    teams array an array of team objects see teams objects
    players array an array of player objects see player objects

    Teama, Teamb properties

    Parameter Value Description
    team_id integer team id
    squads array an array of squad players see squads properties here

    Squads object properties

    Parameter Value Description
    player_id integer player id
    role string player role bat,bowl,wk,all Match Squad Role Parameter
    role_str string player role stirng wk or cap
    playing11 string true if player is included in playing 11, false if player is not included in playing 11

    Teams object properties

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    type string team type Country(International Team) or Club
    country string Country ISO Code
    alt_name string team alternative name

    Player object properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating

    Match Statistics API

    curl -X GET "https://rest.entitysport.com/v2/matches/19899/statistics?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "innings": [
                {
                    "iid": 43691,
                    "number": 1,
                    "title": "India inning",
                    "runs": 375,
                    "overs": "50",
                    "wickets": 5,
                    "status": 2,
                    "result": 0,
                    "batting_team_id": 25,
                    "fielding_team_id": 21,
                    "fows": [
                        {
                            "batsman_id": 117,
                            "runs": 4,
                            "balls_faced": 6,
                            "how_out": "c PM Pushpakumara b MVT Fernando",
                            "score_at_dismissal": 6,
                            "overs_at_dismissal": 1.3
                        }
                    ],
                    "statistics": {
                        "manhattan": [
                            {
                                "over": 1,
                                "runs": 5
                            }
                        ],
                        "worm": [
                            {
                                "over": 1,
                                "runs": 6
                            }
                        ],
                        "runrates": [
                            {
                                "over": 1,
                                "runrate": "5.00"
                            }
                        ],
                        "partnership": [
                            {
                                "batsmen": [
                                    {
                                        "batsman_id": 115,
                                        "balls_faced": 3,
                                        "runs": 1,
                                        "run4": 0,
                                        "run6": 0
                                    },
                                    {
                                        "batsman_id": 117,
                                        "balls_faced": 6,
                                        "runs": 4,
                                        "run4": 1,
                                        "run6": 0
                                    }
                                ],
                                "balls_faced": 9,
                                "runs": 6,
                                "order": 1
                            }
                        ],
                        "runtypes": [
                            {
                                "run": 0,
                                "amount": 113
                            }
                        ],
                        "wickets": [
                            {
                                "dismissal": "caught",
                                "amount": 5
                            }
                        ],
                        "p2p": [
                            {
                                "batsman_id": 115,
                                "bowler_id": 67,
                                "runs": 21,
                                "balls": 18,
                                "run4": 3,
                                "run6": 0,
                                "run0": 6,
                                "run1": 9,
                                "run2": 0,
                                "run3": 0,
                                "run5": 0,
                                "run6p": 0
                            }
                        ],
                        "extras": {
                            "runwides": 6,
                            "runnoballs": 0,
                            "runbyes": 0,
                            "runlegbyes": 5
                        }
                    }
                },
                {
                    "iid": 43695,
                    "number": 2,
                    "title": "Sri Lanka inning",
                    "runs": 207,
                    "overs": "42.4",
                    "wickets": 10,
                    "status": 2,
                    "result": 1,
                    "batting_team_id": 21,
                    "fielding_team_id": 25,
                    "fows": [
                        {
                            "batsman_id": 1763,
                            "runs": 14,
                            "balls_faced": 11,
                            "how_out": "c MS Dhoni b SN Thakur",
                            "score_at_dismissal": 22,
                            "overs_at_dismissal": 2.4
                        }
                    ],
                    "statistics": {
                        "manhattan": [
                            {
                                "over": 1,
                                "runs": 3
                            }
                        ],
                        "worm": [
                            {
                                "over": 1,
                                "runs": 3
                            }
                        ],
                        "runrates": [
                            {
                                "over": 1,
                                "runrate": "3.00"
                            }
                        ],
                        "partnership": [
                            {
                                "batsmen": [
                                    {
                                        "batsman_id": 1763,
                                        "balls_faced": 13,
                                        "runs": 14,
                                        "run4": 3,
                                        "run6": 0
                                    },
                                    {
                                        "batsman_id": 37436,
                                        "balls_faced": 5,
                                        "runs": 2,
                                        "run4": 0,
                                        "run6": 0
                                    }
                                ],
                                "balls_faced": 18,
                                "runs": 22,
                                "order": 1
                            }
                        ],
                        "runtypes": [
                            {
                                "run": 0,
                                "amount": 163
                            },
                            {
                                "run": 1,
                                "amount": 68
                            },
                            {
                                "run": 2,
                                "amount": 7
                            },
                            {
                                "run": 3,
                                "amount": 0
                            },
                            {
                                "run": 4,
                                "amount": 22
                            },
                            {
                                "run": 5,
                                "amount": 0
                            },
                            {
                                "run": 6,
                                "amount": 4
                            }
                        ],
                        "wickets": [
                            {
                                "dismissal": "caught",
                                "amount": 7
                            },
                            {
                                "dismissal": "run out",
                                "amount": 2
                            },
                            {
                                "dismissal": "bowled",
                                "amount": 1
                            }
                        ],
                        "p2p": [
                            {
                                "batsman_id": 1763,
                                "bowler_id": 810,
                                "runs": 5,
                                "balls": 6,
                                "run4": 1,
                                "run6": 0,
                                "run0": 4,
                                "run1": 1,
                                "run2": 0,
                                "run3": 0,
                                "run5": 0,
                                "run6p": 0
                            }
                        ],
                        "extras": {
                            "runwides": 12,
                            "runnoballs": 0,
                            "runbyes": 0,
                            "runlegbyes": 1
                        }
                    }
                }
            ],
            "teams": [
                {
                    "team_id": 21,
                    "name": "Sri Lanka",
                    "short_name": "SL",
                    "country_iso": "lk",
                    "type": "country",
                    "logo_url": "../assets/uploads/2016/01/sri-lanka-32x32.png"
                },
                {
                    "team_id": 25,
                    "name": "India",
                    "short_name": "INDIA",
                    "country_iso": "in",
                    "type": "country",
                    "logo_url": "../assets/uploads/2016/01/india-32x32.png"
                }
            ],
            "players": [
                {
                    "player_id": 49,
                    "name": "Lahiru Thirimanne",
                    "short_name": "HDRL Thirimanne",
                    "country_iso": "lk",
                    "logo_url": "../assets/uploads/2016/01/thirimanne-32x32.jpg"
                }
            ]
        },
        "etag": "d38839b267efbf87b0c05d8960436c87",
        "modified": "2017-09-05 02:34:33",
        "datetime": "2017-09-05 02:34:33",
        "api_version": "2.0"
    }
    

    Match Statistics API provide 8 type of match statistics details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    innings array an array of innings object see innings properties
    teams array an array of teams object see teams properties
    players array an array of innings object see player properties

    Innings Statistic Properties

    Parameter Value Description
    iid interger inning id
    number interger inning number
    title string match name/title
    runs interger runs scored in the inning
    overs interger overs bowled in the inning
    wickets interger total wickets fall in the inning
    status integer innings status
    result interger innings result status
    batting_team_id interger batting team id
    fielding_team_id interger bowling team id
    fows array an array of fall of wicket object details. see fall of wickets Properties
    statistic object objects containing the statistics type details see Manhattan Statistics properties, see Worm Statistics properties, see Partnership Statistics properties, see Run Type Statistics properties, see Player vs Player Statistics properties, see Wicket Statistics properties, see Extras Statistics properties, see Runrates Statistics properties

    Fall of Wickets Properties

    Parameter Value Description
    batsman_id integer player id
    runs integer Number of runs scored by batsman
    balls_faced integer number of balls balls faced by batsman
    how_out string batsman dismissal details
    score_at_dismissal integer team score at dismissal
    overs_at_dismissal string overs at dismissal

    Manhattan Properties

    Parameter Value Description
    over integer over value
    runs integer runs scored in over

    Worm Properties

    Parameter Value Description
    over integer over value
    runs integer team runs after nth over

    Run Rate Properties

    Parameter Value Description
    over string number of overs
    runrate string runrate after the over

    Partnership Properties

    Parameter Value Description
    batsmen array an array of batsmen details included in partnership see batsman properties
    balls_faced integer balls faced by batsmen in partnership
    runs integer total runs of partnership
    order integer order number of partnership

    Batsman Properties

    Parameter Value Description
    batsman_id integer batsman id
    balls_faced integer balls faced by batsman in partnership
    runs integer runs scored by batsman in partnership
    run4 integer number of 4s hit by batsman in partnership
    run6 integer number of 6s hit by batsman in partnership

    Run Type Properties

    Parameter Value Description
    runs integer total runs scored by type
    amount integer Number of times this scoring method used in inning

    Wickets Properties

    Parameter Value Description
    dismissal string dismissal method type
    amount string number of batsman got out by this method type

    Player vs Player Properties

    Parameter Value Description
    batsman_id integer batsman id
    bowler_id integer bowler id
    runs integer total runs scored aganist bowler
    balls integer total balls faced by batsman aganist this bowler
    run4 integer Number of times 4s hit by batsman against bowler
    run6 integer Number of times 6s hit by batsman against bowler
    run0 integer Number of times dots played by batsman against bowler
    run1 integer Number of times single run scored by batsman against bowler
    run2 integer Number of times double run scored by batsman against bowler
    run3 integer Number of times 3 runs scored by batsman against bowler
    run5 integer Number of times 5 runs scored by batsman against bowler
    run6p integer Number of times 6 plus or more than six runs scored by batsman against bowler

    Extras Properties

    Parameter Value Description
    runwides integer number of wides
    runnoballs integer number of no balls
    runbyes integer number of byes
    runlegbyes integer number of legbyes

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    country_iso string Country ISO Code
    type string team type country or club
    logo_url string team logo url

    Player Properties

    Parameter Value Description
    player_id integer player id
    name string player name
    short_name string player short name
    country_iso string Country ISO Code
    logo_url string player logo url

    Match Wagon Wheel API

    curl -X GET "https://rest.entitysport.com/v2/matches/19899/wagons?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "match_id": 19899,
            "title": "Sri Lanka vs India",
            "subtitle": "4th ODI",
            "format": 1,
            "status": 2,
            "status_str": "Completed",
            "status_note": "India won by 168 runs",
            "game_state": 0,
            "game_state_str": "Default",
            "competition": {
                "cid": 91402,
                "title": "India tour of Sri Lanka",
                "abbr": "sri-lanka-v-india-2017",
                "type": "series",
                "category": "international",
                "match_format": "mixed",
                "status": "live",
                "season": "2017",
                "datestart": "2017-07-19",
                "dateend": "2017-09-06",
                "total_matches": "9",
                "total_rounds": "2",
                "total_teams": "2",
                "country": "int"
            },
            "teama": {
                "team_id": 21,
                "name": "Sri Lanka",
                "short_name": "SL",
                "logo_url": "../assets/uploads/2016/01/sri-lanka.png",
                "scores_full": "*207/10 (42.4 ov)",
                "scores": "207/10",
                "overs": "42.4"
            },
            "teamb": {
                "team_id": 25,
                "name": "India",
                "short_name": "INDIA",
                "logo_url": "../assets/uploads/2016/01/india.png",
                "scores_full": "375/5 (50 ov)",
                "scores": "375/5",
                "overs": "50"
            },
            "date_start": "2017-08-31 09:00:00",
            "date_end": "2017-08-31 19:00:00",
            "timestamp_start": 1504170000,
            "timestamp_end": 1504206000,
            "venue": {
                "name": "R.Premadasa Stadium, Khettarama",
                "location": "Colombo",
                "timezone": "5.5"
            },
            "umpires": "Paul Reiffel (Australia), Raveendra Wimalasiri (Sri Lanka), Joel Wilson (West Indies, TV)",
            "referee": "Andy Pycroft (Zimbabwe)",
            "equation": "",
            "live": "",
            "result": "INDIA won by 168 runs",
            "win_margin": "168 runs",
            "commentary": 1,
            "wagon": 1,
            "latest_inning_number": 2,
            "toss": {
                "text": "India won the toss & elected to bat",
                "winner": 25,
                "decision": 1
            },
            "current_over": "",
            "previous_over": "",
            "man_of_the_match": {
                "pid": 119,
                "name": "Virat Kohli",
                "thumb_url": "../assets/uploads/2016/01/kohli-120x120.jpg"
            },
            "man_of_the_series": "",
            "is_followon": 0,
            "team_batting_first": "",
            "team_batting_second": "",
            "last_five_overs": "",
            "live_inning_number": "",
            "wagonsFields": [
                "bat",
                "bowl",
                "over",
                "run",
                "xrun",
                "x",
                "y",
                "z"
            ],
            "firstInning": {
                "wagons": [
                    [
                        115,
                        67,
                        "0.1",
                        0,
                        0,
                        "127",
                        "156",
                        "7",
                        "no run",
                        "0.1"
                    ],
                    [
                        115,
                        67,
                        "0.2",
                        0,
                        0,
                        "157",
                        "167",
                        "6",
                        "no run",
                        "0.2"
                    ],
                    [
                        115,
                        67,
                        "0.3",
                        1,
                        1,
                        "244",
                        "201",
                        "3",
                        "run",
                        "0.3"
                    ],
                    [
                        117,
                        67,
                        "0.4",
                        4,
                        4,
                        "353",
                        "242",
                        "3",
                        "four",
                        "0.4"
                    ],
                    [
                        117,
                        67,
                        "0.5",
                        0,
                        0,
                        "149",
                        "166",
                        "6",
                        "no run",
                        "0.5"
                    ],
                    [
                        117,
                        67,
                        "0.6",
                        0,
                        1,
                        "147",
                        "161",
                        "7",
                        "leg bye",
                        "0.6"
                    ],
                    [
                        117,
                        43985,
                        "1.1",
                        0,
                        0,
                        "156",
                        "187",
                        "6",
                        "no run",
                        "1.1"
                    ],
                    [
                        117,
                        43985,
                        "1.2",
                        0,
                        0,
                        "140",
                        "194",
                        "6",
                        "no run",
                        "1.2"
                    ]
                ],
                "players": {
                    "49": {
                        "pid": 49,
                        "title": "Lahiru Thirimanne",
                        "short_name": "HDRL Thirimanne",
                        "first_name": "Hettige",
                        "last_name": "Thirimanne",
                        "middle_name": "Don Rumesh Lahiru",
                        "birthdate": "1989-08-09",
                        "birthplace": "",
                        "country": "lk",
                        "primary_team": [],
                        "thumb_url": "../assets/uploads/2016/01/thirimanne-120x120.jpg",
                        "logo_url": "../assets/uploads/2016/01/thirimanne-32x32.jpg",
                        "playing_role": "bat",
                        "batting_style": "LHB",
                        "bowling_style": "Right-arm medium-fast",
                        "fielding_position": "",
                        "recent_match": 19898,
                        "recent_appearance": 1503824400
                    },
                    "59": {
                        "pid": 59,
                        "title": "Angelo Mathews",
                        "short_name": "AD Mathews",
                        "first_name": "Angelo",
                        "last_name": "Mathews",
                        "middle_name": "Davis",
                        "birthdate": "1987-06-02",
                        "birthplace": "",
                        "country": "lk",
                        "primary_team": [],
                        "thumb_url": "../assets/uploads/2017/07/angelo-mathews-120x120.png",
                        "logo_url": "../assets/uploads/2017/07/angelo-mathews-32x32.png",
                        "playing_role": "all",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm medium",
                        "fielding_position": "",
                        "recent_match": 17773,
                        "recent_appearance": 1496914200
                    }
                }
            },
        },
        "etag": "7fcfb1a0eef9af9054df17d62d3a4709",
        "modified": "2017-09-02 23:39:17",
        "datetime": "2017-09-02 23:39:17",
        "api_version": "2.0"
    }
    

    Match Wagon Wheel API provide batting shots field presentation with x,y,z positional data.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_id interger match id
    title string match name/title
    subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
    format interger numerical representation of match format. see match_formats reference.
    status string numerical representation of match status. see match_statuss reference.
    status_str string match status name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    game_state string numerical representation of match game_state. game state is available for live match only.
    game_state_str string match game_state name.
    competition array an array of parent competition details of the match, see competition object properties.
    team array an array of teams participating in the match, see team match properties.
    date_start date match start date in GMT(UTC +0)
    date_end date match end date in GMT(UTC +0)
    timestamp_start integer match start timestamp in GMT(UTC +0)
    timestamp_end integer match end timestamp in GMT(UTC +0)
    venue array an array of venue details of the match, see venue object properties.
    umpires string umpires of the match.
    referee string referee of the match.
    equation string match result condition.
    live string live match status note.
    result string result status note
    win_margin string match win margin.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    latest_inning_number interger latest or active innings number.
    toss array an array of toss details of the match, see toss object properties.
    current_over string current over runs.
    previous_over string last over runs.
    man_of_the_match object A set of of player objects. see man of the match object properties.
    man_of_the_series object A set of player objects. see man of the series object properties.
    is_followon interger numerical representation of followon or not for match.
    team_batting_first string rteam batting first name
    team_batting_second string team batting second name
    last_five_overs string runs scored and wicket lost in last 5 overs
    live_inning_number interger live inning number
    wagonsFields array an array of wagon wheel data objects. see wagonFields object properties.
    firstInning object A set of of wagon fields objects. see inning wagon object properties.

    Competition Properties

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    type string competition type, possible values are tour, tournament, series
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    country string Country ISO Code

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    logo_url string team logo url
    scores_full string team full score
    scores string team score
    overs string overs played by team

    Venue Properties

    Parameter Value Description
    name string Venue name/title
    location string City Name
    timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

    Toss Properties

    Parameter Value Description
    text string Toss result text with team name
    winner integer team id of toss winning team
    decision integer numerical representation of decision made by toss winning team.

    Man of the Match/Series Properties

    Parameter Value Description
    pid integer player id
    name string player name
    thumb_url url player image url

    Wagon Fields Properties

    Parameter Value Description
    bat integer batsman id
    bowl integer bowler id
    over string over number
    run integer run scored on the ball
    xrun integer run scored type
    x integer x co-ordinate value
    y integer y co-ordinate value
    z integer z co-ordinate value

    Inning Wagon Field Properties

    Value Description
    integer batsman id
    integer bowler id
    string over number
    integer run scored on the ball
    integer run scored type
    integer x co-ordinate value
    integer y co-ordinate value
    integer z co-ordinate value
    string ball event text string no run, run, extra runs, out
    string over number

    Player Search API

    curl -X GET "https://rest.entitysport.com/v2/players?token=[ACCESS_TOKEN]"
    
    curl -X GET "https://rest.entitysport.com/v2/players?country=in&token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": 44977,
                    "title": "Rahmat Shah",
                    "short_name": "Rahmat Shah",
                    "first_name": "Rahmat",
                    "last_name": "Zurmatai",
                    "middle_name": "Shah",
                    "birthdate": "1993-07-06",
                    "birthplace": "",
                    "country": "af",
                    "primary_team": [],
                    "thumb_url": "",
                    "logo_url": "",
                    "playing_role": "bat",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "Legbreak googly",
                    "fielding_position": "",
                    "recent_match": 37796,
                    "recent_appearance": 1518172200,
                    "fantasy_player_rating": 9
                }
            ],
            "total_items": "22415",
            "total_pages": 22415
        },
        "etag": "5832339678cbd950fd704e3681d3d973",
        "modified": "2018-10-30 15:33:03",
        "datetime": "2018-10-30 15:33:03",
        "api_version": "2.0"
    }
    

    Player Search API provides access to all cricket players profile data on our database.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page integer Number of items to list in each API request
    paged integer Page Number for request
    country string 2 letter Country ISO Code (example - country=in)

    Response

    Reference

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating

    Player Profile API

    curl -X GET "https://rest.entitysport.com/v2/players/119?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "player": {
                "pid": 119,
                "title": "Virat Kohli",
                "short_name": "V Kohli",
                "first_name": "Virat",
                "last_name": "Kohli",
                "middle_name": "",
                "birthdate": "1988-11-05",
                "birthplace": "",
                "country": "in",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm medium",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0,
                "fantasy_player_rating": 11
            }
        },
        "etag": "54c2424f65570954c0045100b86cb8c5",
        "modified": "2018-10-30 15:33:45",
        "datetime": "2018-10-30 15:33:45",
        "api_version": "2.0"
    }
    

    Player Profile API provides details of player info.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating

    Player Statstic API

    curl -X GET "https://rest.entitysport.com/v2/players/119/stats?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "player": {
                "pid": 119,
                "title": "Virat Kohli",
                "short_name": "V Kohli",
                "first_name": "Virat",
                "last_name": "Kohli",
                "middle_name": "",
                "birthdate": "1988-11-05",
                "birthplace": "",
                "country": "in",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm medium",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0,
                "fantasy_player_rating": 11
            },
            "batting": {
                "test": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 73,
                    "innings": 124,
                    "notout": 8,
                    "runs": 6331,
                    "balls": 10865,
                    "highest": "243",
                    "run100": 24,
                    "run50": 19,
                    "run4": 700,
                    "run6": 18,
                    "average": "54.57",
                    "strike": "58.26",
                    "catches": 67,
                    "stumpings": 0
                },
                "odi": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 215,
                    "innings": 207,
                    "notout": 36,
                    "runs": 10199,
                    "balls": 10987,
                    "highest": "183",
                    "run100": 38,
                    "run50": 48,
                    "run4": 956,
                    "run6": 111,
                    "average": "59.64",
                    "strike": "92.82",
                    "catches": 102,
                    "stumpings": 0
                },
                "t20i": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 62,
                    "innings": 58,
                    "notout": 15,
                    "runs": 2102,
                    "balls": 1543,
                    "highest": "90*",
                    "run100": 0,
                    "run50": 18,
                    "run4": 214,
                    "run6": 46,
                    "average": "48.88",
                    "strike": "136.22",
                    "catches": 32,
                    "stumpings": 0
                },
                "t20": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 247,
                    "innings": 234,
                    "notout": 44,
                    "runs": 7744,
                    "balls": 5808,
                    "highest": "113",
                    "run100": 4,
                    "run50": 56,
                    "run4": 718,
                    "run6": 243,
                    "average": "40.75",
                    "strike": "133.33",
                    "catches": 114,
                    "stumpings": 0
                },
                "lista": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 249,
                    "innings": 240,
                    "notout": 39,
                    "runs": 11641,
                    "balls": 12523,
                    "highest": "183",
                    "run100": 42,
                    "run50": 56,
                    "run4": 1120,
                    "run6": 135,
                    "average": "57.91",
                    "strike": "92.95",
                    "catches": 120,
                    "stumpings": 0
                },
                "firstclass": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 105,
                    "innings": 172,
                    "notout": 15,
                    "runs": 8580,
                    "balls": 14768,
                    "highest": "243",
                    "run100": 31,
                    "run50": 27,
                    "run4": 1013,
                    "run6": 33,
                    "average": "54.64",
                    "strike": "58.09",
                    "catches": 98,
                    "stumpings": 0
                }
            },
            "bowling": {
                "test": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 73,
                    "innings": 9,
                    "balls": 163,
                    "overs": 27.1,
                    "runs": 76,
                    "wickets": 0,
                    "bestinning": "",
                    "bestmatch": "",
                    "econ": "2.79",
                    "average": "",
                    "strike": "",
                    "wicket4i": 0,
                    "wicket5i": 0,
                    "wicket10m": 0
                },
                "odi": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 215,
                    "innings": 48,
                    "balls": 641,
                    "overs": 106.5,
                    "runs": 665,
                    "wickets": 4,
                    "bestinning": "1/15",
                    "bestmatch": "1/15",
                    "econ": "6.22",
                    "average": "166.25",
                    "strike": "160.2",
                    "wicket4i": 0,
                    "wicket5i": 0,
                    "wicket10m": 0
                },
                "t20i": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 62,
                    "innings": 12,
                    "balls": 146,
                    "overs": 24.2,
                    "runs": 198,
                    "wickets": 4,
                    "bestinning": "1/13",
                    "bestmatch": "1/13",
                    "econ": "8.13",
                    "average": "49.50",
                    "strike": "36.5",
                    "wicket4i": 0,
                    "wicket5i": 0,
                    "wicket10m": 0
                },
                "t20": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 247,
                    "innings": 44,
                    "balls": 454,
                    "overs": 75.4,
                    "runs": 661,
                    "wickets": 8,
                    "bestinning": "2/25",
                    "bestmatch": "2/25",
                    "econ": "8.73",
                    "average": "82.62",
                    "strike": "56.7",
                    "wicket4i": 0,
                    "wicket5i": 0,
                    "wicket10m": 0
                },
                "lista": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 249,
                    "innings": 55,
                    "balls": 705,
                    "overs": 117.3,
                    "runs": 726,
                    "wickets": 4,
                    "bestinning": "1/15",
                    "bestmatch": "1/15",
                    "econ": "6.17",
                    "average": "181.50",
                    "strike": "176.2",
                    "wicket4i": 0,
                    "wicket5i": 0,
                    "wicket10m": 0
                },
                "firstclass": {
                    "match_id": 0,
                    "inning_id": 0,
                    "matches": 105,
                    "innings": 23,
                    "balls": 631,
                    "overs": 105.1,
                    "runs": 330,
                    "wickets": 3,
                    "bestinning": "1/19",
                    "bestmatch": "2/42",
                    "econ": "3.13",
                    "average": "110.00",
                    "strike": "210.3",
                    "wicket4i": 0,
                    "wicket5i": 0,
                    "wicket10m": 0
                }
            }
        },
        "etag": "fceb7d7136abd0bcf09eba58ad4cb202",
        "modified": "2018-10-30 15:34:42",
        "datetime": "2018-10-30 15:34:42",
        "api_version": "2.0"
    }
    

    Player Profile API provides details of player info.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Player Profile Object Properties

    Parameter Value Description
    pid integer player id
    title string player name
    short_name string player short name
    first_name string player first name
    last_name string player last name
    middle_name string player middle name
    birthdate date player date of birth
    birthplace string player birth place
    country string Country ISO Code
    thumb_url string player logo thumbnail url
    logo_url string player logo url
    playing_role string player playing role
    batting_style string player batting style
    bowling_style string player bowling style
    fielding_position string player fielding position
    recent_match integer match id of last played match
    recent_appearance integer timestamp of last played match
    fantasy_player_rating string player fantasy salary or credit rating

    Player Batting Statistic Object Properties

    Parameter Value Description
    match_id integer match id
    inning_id integer inning id
    matches integer Number of matches played
    innings integer Number of innings played
    notout integer Number of times batsman remained not out in inning
    runs integer total runs scored in career for respective format
    balls integer total balls faced by player in career for respective format
    highest integer highest run scored in single inning in career for respective format
    run100 integer number of times batsman scored 100 or more runs in career for respective format
    run50 integer number of times batsman scored 50 or more runs in career for respective format
    run4 integer total number of 4s hit by batsman in career for respective format
    run6 integer total number of 6s hit by batsman in career for respective format
    average string career batting average of player in respective format
    strike string career batting strike rate of player in respective format
    catches integer career catches taken by player in respective format
    stumping integer career stumping completed by player in respective format

    Player Bowling Statistic Object Properties

    Parameter Value Description
    match_id integer match id
    inning_id integer inning id
    matches integer Number of matches played
    innings integer Number of innings played
    balls integer total balls bowled by player in career for respective format
    overs string total overs bowled by player in career for respective format
    runs integer total runs conceded by player in career for respective format
    wickets integer total wickets taken by player in career for respective format
    bestinning string best inning bowling figures by player in career for respective format
    bestmatch string best match bowling figures by player in career for respective format
    econ string player logo url
    average string career bowling average of player in respective format
    strike string career bowling strike rate of player in respective format
    wicket4i integer number of times bowler took 4 or more wickets in single inning in career for respective format
    wicket5i integer number of times bowler took 5 or more wickets in single inning in career for respective format
    wicket10m integer number of times bowler took 10 or more wickets in single match in career for respective format

    Team API

    curl -X GET "https://rest.entitysport.com/v2/teams/25?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "tid": 25,
            "title": "India",
            "abbr": "INDIA",
            "thumb_url": "../assets/uploads/2016/01/india.png",
            "logo_url": "../assets/uploads/2016/01/india-32x32.png",
            "type": "country",
            "country": "in",
            "alt_name": "India"
        },
        "etag": "b9fe68d11ecf5c8287f554c46484ffd6",
        "modified": "2017-09-01 15:23:06",
        "datetime": "2017-09-01 15:23:06",
        "api_version": "2.0"
    }
    

    Provides information of a team.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    tid integer team id
    title string team name
    abbr string team short name
    thumb_url string team logo thumbnail url
    logo_url string team logo url
    type string team type Country(International Team) or Club
    country string Country ISO Code
    alt_name string team alternative name

    Team Matches API

    curl -X GET "https://rest.entitysport.com/v2/teams/25/matches?status=2&token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "match_id": 19900,
                    "title": "Sri Lanka vs India",
                    "subtitle": "5th ODI",
                    "format": 1,
                    "format_str": "ODI",
                    "status": 2,
                    "status_str": "Completed",
                    "status_note": "India won by 6 wickets (with 21 balls remaining)",
                    "verified": "true",
                    "pre_squad": "true",
                    "game_state": 0,
                    "game_state_str": "Default",
                    "domestic": "0",
                    "competition": {
                        "cid": 91402,
                        "title": "India tour of Sri Lanka",
                        "abbr": "sri-lanka-v-india-2017",
                        "type": "series",
                        "category": "international",
                        "match_format": "mixed",
                        "status": "live",
                        "season": "2017",
                        "datestart": "2017-07-19",
                        "dateend": "2017-09-06",
                        "total_matches": "9",
                        "total_rounds": "2",
                        "total_teams": "2",
                        "country": "int"
                    },
                    "teama": {
                        "team_id": 21,
                        "name": "Sri Lanka",
                        "short_name": "SL",
                        "logo_url": "../assets/uploads/2016/01/sri-lanka.png",
                        "scores_full": "238/10 (49.4 ov)",
                        "scores": "238/10",
                        "overs": "49.4"
                    },
                    "teamb": {
                        "team_id": 25,
                        "name": "India",
                        "short_name": "INDIA",
                        "logo_url": "../assets/uploads/2016/01/india.png",
                        "scores_full": "*239/4 (46.3 ov)",
                        "scores": "239/4",
                        "overs": "46.3"
                    },
                    "date_start": "2017-09-03 09:00:00",
                    "date_end": "2017-09-03 23:59:00",
                    "timestamp_start": 1504429200,
                    "timestamp_end": 1504483140,
                    "venue": {
                        "name": "R.Premadasa Stadium, Khettarama",
                        "location": "Colombo",
                        "timezone": "5.5"
                    },
                    "umpires": "Ranmore Martinesz (Sri Lanka), Joel Wilson (West Indies), Paul Reiffel (Australia, TV)",
                    "referee": "Andy Pycroft (Zimbabwe)",
                    "equation": "",
                    "live": "",
                    "result": "INDIA won by 6 wickets",
                    "win_margin": "6 wickets",
                    "commentary": 1,
                    "wagon": 1,
                    "latest_inning_number": 2,
                    "toss": {
                        "text": "Sri Lanka won the toss & elected to bat",
                        "winner": 21,
                        "decision": 1
                    }
                }
            ],
            "total_items": "66",
            "total_pages": 66
        },
        "etag": "94757f8eae0f95789b12d607b65798e7",
        "modified": "2017-09-06 02:49:54",
        "datetime": "2017-09-06 02:49:54",
        "api_version": "2.0"
    }
    

    Provides information of a team.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    status integer filter matches by status (ie: live, completed). see properties reference for match status codes
    per_page integer Number of competition to list in each API request
    paged integer Page Number for request

    Response

    Reference

    Parameter Value Description
    items array an array of match objects Match Object Properties
    total_items integer total items
    total_pages integer total pages consisting of data objects

    Match Object Properties

    Parameter Value Description
    match_id interger match id
    title string match name/title
    subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
    format interger numerical representation of match format. see match_formats reference.
    format_str string match format name
    status string numerical representation of match status. see match_statuss reference.
    status_str string match status name.
    status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
    verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
    pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
    game_state string numerical representation of match game_state. game state is available for live match only.
    game_state_str string match game_state name.
    domestic integer numerical representation of match category type
    competition array an array of parent competition details of the match, see competition object properties.
    team array an array of teams participating in the match, see team match properties.
    date_start date match start date in GMT(UTC +0)
    date_end date match end date in GMT(UTC +0)
    timestamp_start integer match start timestamp in GMT(UTC +0)
    timestamp_end integer match end timestamp in GMT(UTC +0)
    venue array an array of venue details of the match, see venue object properties.
    umpires string umpires of the match.
    referee string referee of the match.
    equation string match result condition.
    live string live match status note.
    result string result status note.
    win_margin string match win margin.
    commentary interger numerical representation of commentary available or not for match.
    wagon interger numerical representation of wagon available or not for match.
    latest_inning_number interger latest or active innings number.
    toss array an array of toss details of the match, see toss object properties.

    Competition Properties

    Parameter Value Description
    cid integer competition id
    title string competition name/title
    abbr string competition name abbreviation
    season string competition season name
    datestart date competition first match date
    dateend date competition last match date
    total_matches integer number of total matches
    total_rounds integer number of total rounds
    total_teams integer number of total teams
    category string competition category, possible values are international, domestic, youth, women
    match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
    status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
    country string Country ISO Code
    type string competition type, possible values are tour, tournament, series

    Team Properties

    Parameter Value Description
    team_id integer team id
    name string team name
    short_name string team short name
    logo_url string team logo url
    scores_full string team full score
    scores string team score
    overs string overs played by team

    Venue Properties

    Parameter Value Description
    name string Venue name/title
    location string City Name
    timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

    Toss Properties

    Parameter Value Description
    text string Toss result text with team name
    winner integer team id of toss winning team
    decision integer numerical representation of decision made by toss winning team.

    ICC Ranking API

    curl -X GET "https://rest.entitysport.com/v2/iccranks?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "ranks": {
                "batsmen": {
                    "odis": [
                        {
                            "rank": "1",
                            "player": "Virat Kohli",
                            "team": "India",
                            "rating": "887"
                        }
                    ],
                    "tests": [
                        {
                            "rank": "1",
                            "player": "Steve Smith",
                            "team": "Australia",
                            "rating": "938"
                        }
                    ],
                    "t20s": [
                        {
                            "rank": "1",
                            "player": "Virat Kohli",
                            "team": "India",
                            "rating": "804"
                        }
                    ]
                },
                "bowlers": {
                    "odis": [
                        {
                            "rank": "1",
                            "player": "Josh Hazlewood",
                            "team": "Australia",
                            "rating": "732"
                        }
                    ],
                    "tests": [
                        {
                            "rank": "1",
                            "player": "Ravindra Jadeja",
                            "team": "India",
                            "rating": "884"
                        }
                    ],
                    "t20s": [
                        {
                            "rank": "1",
                            "player": "Imad Wasim",
                            "team": "Pakistan",
                            "rating": "780"
                        }
                    ]
                },
                "all-rounders": {
                    "odis": [
                        {
                            "rank": "1",
                            "player": "Shakib Al Hasan",
                            "team": "Bangladesh",
                            "rating": "353"
                        }
                    ],
                    "tests": [
                        {
                            "rank": "1",
                            "player": "Shakib Al Hasan",
                            "team": "Bangladesh",
                            "rating": "489"
                        }
                    ],
                    "t20s": [
                        {
                            "rank": "1",
                            "player": "Shakib Al Hasan",
                            "team": "Bangladesh",
                            "rating": "353"
                        }
                    ]
                },
                "teams": {
                    "odis": [
                        {
                            "rank": "1",
                            "team": "South Africa",
                            "points": "5957",
                            "rating": "119"
                        }
                    ],
                    "tests": [
                        {
                            "rank": "1",
                            "team": "India",
                            "points": "4493",
                            "rating": "125"
                        }
                    ],
                    "t20s": [
                        {
                            "rank": "1",
                            "team": "New Zealand",
                            "points": "1625",
                            "rating": "125"
                        }
                    ]
                }
            },
            "groups": {
                "teams": "Teams",
                "batsmen": "Batsmen",
                "bowlers": "Bowlers",
                "all-rounders": "All Rounders"
            },
            "formats": {
                "odis": "ODI",
                "tests": "Test",
                "t20s": "T20"
            }
        },
        "etag": "2ac2ae78cd62d84455b9767f4d4a335b",
        "modified": "2017-09-05 23:48:38",
        "datetime": "2017-09-05 23:48:38",
        "api_version": "2.0"
    }
    

    Provides information of a team.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    ranks objects ranking objects see Batsmen, Bowlers, All Rounders Ranking Properties, see Team Ranking Properties
    groups objects groups objects see ranking group properties
    formats objects formats objects see ranking format properties

    Batsmen, Bowlers, All Rounders Ranking Properties

    Parameter Value Description
    rank integer ranking order
    player string player name
    team string team name
    rating integer rating points

    Team Ranking Properties

    Parameter Value Description
    rank integer ranking order
    team string team name
    points integer team points
    rating integer rating points

    Ranking Groups Properties

    Parameter Value Description
    teams string Teams Group
    batsmen string Batsmen Group
    bowlers string Bowlers Group
    all-rounders string All Rounders

    Ranking Formats Properties

    Parameter Value Description
    odis string ODI Formats
    tests string Test Formats
    t20s string T20 Formats

    Cricket Reference

    Match status Codes

    Code Description
    1 Scheduled
    2 Completed
    3 Live
    4 Abandoned, canceled, no result

    Innings status Codes

    Code Description
    1 Scheduled
    2 Completed
    3 Live
    4 Abandoned

    Inning result Codes

    Code Description
    0 default
    1 All Out
    2 Declared
    3 Target Reached
    4 Over Reached

    Wagon and Commentary Codes on Match Objects

    Code Description
    0,2 Not Available
    1 Available

    Match Game State Codes

    Code Description
    0 None
    1 Starts Shortly
    2 Toss
    3 Play Ongoing
    4 Delayed
    5 Drinks Break
    6 Innings Break
    7 Stumps
    8 Lunch Break
    9 Tea Break

    Match Format Codes

    Code Description
    1 ODI (One Day International)
    2 TEST
    3 T20I (Twenty20 International)
    4 List A (Limited Over Domestic Match)
    5 First Class
    6 T20(Domestic)
    7 Women ODI
    8 Women T20
    9 Youth ODI
    10 Youth T20
    11 Others
    17 T10

    Match Domestic Codes

    Code Description
    0 International Match
    1 Domestic Match

    Match Toss Decision

    Code Description
    1 Batting
    2 Fielding

    Playing Role Parameter

    Code Description
    bat Batsman
    bowl Bowler
    all All Rounder
    wk Wicketkeeper
    wkbat Wicketkeeper

    Match Squad Role Parameter

    Code Description
    bat Batsman
    bowl Bowler
    all All Rounder
    WK Wicketkeeper
    cap Captain of playing XI
    wkcap wicketkeeper and captain
    squad Player is not selected in Playing XI and benched

    International Team Id

    International Team Names and Team ID

    Team Name Team ID
    Afghanistan 498
    Australia 5
    Australia Women 8652
    Bangladesh 23
    Bangladesh Women 10712
    England 490
    England Women 9534
    India 25
    India Women 9536
    Ireland 11
    Ireland Women 10511
    New Zealand 7
    New Zealand Women 8650
    Pakistan 13
    Pakistan Women 10259
    South Africa 19
    South Africa Women 10279
    Sri Lanka 21
    Sri Lanka Women 10277
    West Indies 17
    West Indies Women 10272
    Zimbabwe 493
    Zimbabwe Women 14619
    Scotland 9
    Scotland Women 14624
    Netherlands 1824
    Netherlands Women 14627
    Kenya 9160
    Fiji 9140
    Namibia 10798
    Nepal 10814
    Nepal Women 26768
    Hong Kong 1544
    Hong Kong Women 26771
    Oman 1546
    Canada 6791
    United Arab Emirates 15

    T20 Cricket League Teams ID

    T20 Cricket League Team Names and Team ID

    Indian Premier League Teams (India)

    Team Name Team ID
    Chennai Super Kings 610
    Delhi Daredevils 612
    Kings XI Punjab 627
    Kolkata Knight Riders 591
    Mumbai Indians 593
    Rajasthan Royals 629
    Royal Challengers Bangalore 646
    Sunrisers Hyderabad 658
    Gujarat Lions 10062
    Rising Pune Supergiants 10059

    Big Bash League Teams (Australia)

    Team Name Team ID
    Adelaide Strikers 14205
    Brisbane Heat 14208
    Hobart Hurricanes 14212
    Melbourne Renegades 14209
    Melbourne Stars 14206
    Perth Scorchers 14214
    Sydney Sixers 14203
    Sydney Thunder 14202

    Pakistan Super League Teams (Pakistan)

    Team Name Team ID
    Islamabad United 14464
    Karachi Kings 14469
    Lahore Qalandars 14470
    Peshawar Zalmi 14467
    Quetta Gladiators 14465
    Multan Sultans 108678

    Ram Slam League Teams(South Africa)

    Team Name Team ID
    Cape Cobras 12330
    Dolphins 12342
    Knights 12332
    Lions 12340
    Titans 12335
    Warriors 90443

    Super Smash T20(New Zealand)

    Team Name Team ID
    Auckland 13231
    Canterbury 13223
    Central Districts 13222
    Northern Districts 13226
    Otago 13229
    Wellington 13225

    Caribbean Premier League Teams (West Indies)

    Team Name Team ID
    Antigua Hawksbills 29441
    Guyana Amazon Warriors 18245
    Jamaica Tallawahs 18253
    St Lucia Zouks 18248
    Trinbago Knight Riders 18250

    Bangladesh Premier League (Bangladesh)

    Team Name Team ID
    Barisal Bulls 14096
    Chittagong Vikings 14091
    Comilla Victorians 14094
    Dhaka Dynamites 14093
    Khulna Titans 90438
    Rajshahi Kings 65163
    Rangpur Riders 14090

    Netwest T20 Blast (England)

    Team Name Team ID
    Derbyshire 7013
    Durham 7548
    Essex 7006
    Glamorgan 7020
    Gloucestershire 7017
    Hampshire 7047
    Kent 6188
    Lancashire 7023
    Leicestershire 7025
    Middlesex 7044
    Northamptonshire 7038
    Nottinghamshire 6035
    Somerset 7010
    Surrey 6995
    Sussex 5721
    Warwickshire 7002
    Worcestershire 7000
    Yorkshire 7050

    Soccer API

    Getting your Keys

    You will need an active access key and secret key with a valid subsciption to start using our API. Please visit entitysport.com to request your keys and subscription.

    Obtaining Token

    To authorize, use this code:

    curl -X POST "https://soccer.entitysport.com/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY"
    
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "token": "1|X#aFhlzAsd",
            "expires": "12312312312",
        },
        "api_version": "2.0"
    }
    
    

    To access any API, you need a token. A token can be generated using your keys. Token is a piece of information that would allow you to access our API data until your subscription expires. Auth API provides you the token, by validating your keys. Request to our Auth API whenever the access token is expired or unavailable.

    Request

    Response

    Making your First Request

    curl -X GET "https://soccer.entitysport.com/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "api_doc": "https://doc.entitysport.com/soccer/",
            "status_codes": {
                "ok": "Success",
                "error": "Failure",
                "invalid": "Invalid Request",
                "unauthorized": "Un authorized",
                "noaccess": "No access to requested resource"
            }
        },
        "api_version": "2.0"
    }
    
    

    It's very easy to start using the EntitySport Soccer API. By passing your token as token to our api server, you can get access to our API data instantly.

    https Request

    GET https://soccer.entitysport.com/?token=[ACCESS_TOKEN]

    https Status Code

    All API request will resolve with any of the following https header status.

    Response Code Description
    200 API request valid, informations ready to access
    304 API request valid, but data was not modified since last accessed (compared using Etag)
    400 Client side error. occurs for invalid request
    401 occurs for unauthorized request
    501 Server side error. Internal server error, unable to process your request

    API Response

    
    {
        "status": "ok",
        "response": {},
        "etag": "8fc93de066d8d802a36e0882ecc77fdb",
        "modified": "2017-01-31 16:29:11",
        "datetime": "2017-01-31 16:29:11",
        "api_version": "1.0"
    }
    
    

    All successfull API request will return json output. The basic structure of data is available on all of the calls.

    Status - Possible Values are as follows :

    Status Description
    ok A successfull response
    error if the request contains error
    unauthorized if the request is not authorized, usually for invalid/expired access token
    accessdenied if your app try to access non permitted data

    Pagination

    Parameter Value Description
    per_page Number Number of items to list in each API request
    paged Number Page Number for request

    API Objects

    There are some informations that we call as OBJECT. A response can contain a single object, or multiple objects or no objects at all. It is important get famililar with our objects.

    We have 5 Obejcts in total. A object is a set of data, which contains a unique identifier, and directly relates to other objects. ie: match object connects inning object, team object.

    Each object has a unique identifier which start with the first character of object name, and id as suffix. ie: competition unique identified named as cid, for match it's mid, for player it's pid, for team, it's tid and for season - sid.

    Seasons API

    curl -X GET "https://soccer.entitysport.com/seasons/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "sid": "18-19",
                    "name": "18-19",
                    "competitions_url": "season/18-19/competitions"
                },
                {
                    "sid": "2018",
                    "name": "2018",
                    "competitions_url": "season/2018/competitions"
                }
            ],
            "total_items": 2,
            "total_pages": 1
        },
        "etag": "d29504573deab71b8f89d61c9ee8bac1",
        "modified": "2018-08-30 05:50:04",
        "datetime": "2018-08-30 05:50:04",
        "api_version": "1.0"
    }
    
    

    Provides information of all avaialable soccer seasons you have access. A season is named as complete year ie: 2018. for all tournaments that happens in the correspoding year, or name cross year ie: 18-19 for matches happens in multiple years or vice versa.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    sid string season id
    name string season representational name
    competitions_url string API URL address for list of competitions played on the season

    Season Competitions API

    curl -X GET "https://soccer.entitysport.com/season/{sid}/competitions?token=[ACCESS_TOKEN]&per_page=10&&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": "163",
                    "cname": "UEFA Europa League",
                    "startdate": "2020-08-18 00:00:00",
                    "enddate": "2021-05-26 00:00:00",
                    "startdatetimestamp": "1597708800",
                    "endtdatetimestamp": "1621987200",
                    "year": "20/21",
                    "category": "International Clubs",
                    "tournament_id": "12",
                    "category_id": "8",
                    "ioc": "",
                    "status": "3",
                    "status_str": "live",
                    "logo": "",
                    "competition_url": "competition/163",
                    "team_url": "competition/163/squad",
                    "match_url": "competition/163/matches",
                    "stats_url": "competition/163/stats"
                }
            ],
            "total_items": 25,
            "total_pages": 25
        },
        "etag": "1342d44d91bb71c8baa6857c0ed18a3e",
        "modified": "2021-01-05 15:34:02",
        "datetime": "2021-01-05 15:34:02",
        "api_version": "1.0"
    }
    
    
    

    This will list all available competitions those you are subscribed and can access for specified season. Season is named using 4 digit year, ex: 2018, or Year combo, ex: 18-19.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    sid string season id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    tournament_id string tournament id of competition native country
    category_id string category id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    team_url string Competition team squad information API end point url
    match_url string Competition matches information API end point url
    stats_url string Competition player statistic information API end point url

    Competitions List API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/competitions?token=[ACCESS_TOKEN]"
    

    Using Token and Pagination parameter:

    curl -X GET "https://soccer.entitysport.com/competitions?token=[ACCESS_TOKEN]&per_page=10&paged=1"
    

    Using Token, Pagination and status parameter:

    curl -X GET "https://soccer.entitysport.com/competitions?token=[ACCESS_TOKEN]&status=3&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": "163",
                    "cname": "UEFA Europa League",
                    "startdate": "2020-08-18 00:00:00",
                    "enddate": "2021-05-26 00:00:00",
                    "startdatetimestamp": "1597708800",
                    "endtdatetimestamp": "1621987200",
                    "year": "20/21",
                    "category": "International Clubs",
                    "tournament_id": "12",
                    "category_id": "8",
                    "ioc": "",
                    "status": "3",
                    "status_str": "live",
                    "logo": "",
                    "competition_url": "competition/163",
                    "team_url": "competition/163/squad",
                    "match_url": "competition/163/matches",
                    "stats_url": "competition/163/stats"
                }
            ],
            "total_items": 25,
            "total_pages": 25
        },
        "etag": "1342d44d91bb71c8baa6857c0ed18a3e",
        "modified": "2021-01-05 15:34:02",
        "datetime": "2021-01-05 15:34:02",
        "api_version": "1.0"
    }
    

    This API lists all available competitions those user are subscribed and can access. This API is a directory of all competitions user have access.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    status integer status code for the competition, available status code 1 = upcoming, 2 = completed, 3 = live
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    tournament_id string tournament id of competition native country
    category_id string category id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    team_url string Competition team squad information API end point url
    match_url string Competition matches information API end point url
    stats_url string Competition player statistic information API end point url

    Competitions Information API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/competition/3/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": "165",
                    "cname": "Indian Super League",
                    "startdate": "2020-11-20 00:00:00",
                    "enddate": "2021-03-23 00:00:00",
                    "startdatetimestamp": "1605830400",
                    "endtdatetimestamp": "1616457600",
                    "year": "20/21",
                    "category": "India",
                    "tournament_id": "16",
                    "category_id": "14",
                    "ioc": "in",
                    "status": "3",
                    "status_str": "live",
                    "logo": "",
                    "teams": [
                        {
                            "tid": "451",
                            "tname": "Bengaluru",
                            "fullname": "Bengaluru FC",
                            "abbr": "BGL",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2013",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/451.png"
                        },
                        {
                            "tid": "453",
                            "tname": "Chennaiyin",
                            "fullname": "Chennaiyin FC",
                            "abbr": "CHE",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2014",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/453.png"
                        },
                        {
                            "tid": "454",
                            "tname": "Odisha",
                            "fullname": "Odisha FC",
                            "abbr": "ODI",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2014",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/454.png"
                        },
                        {
                            "tid": "455",
                            "tname": "Goa",
                            "fullname": "FC Goa",
                            "abbr": "GOA",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2014",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/455.png"
                        },
                        {
                            "tid": "457",
                            "tname": "Kerala",
                            "fullname": "Kerala Blasters FC",
                            "abbr": "KER",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2014",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/457.png"
                        },
                        {
                            "tid": "458",
                            "tname": "Mumbai City",
                            "fullname": "Mumbai City FC",
                            "abbr": "MUM",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2014",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/458.png"
                        },
                        {
                            "tid": "459",
                            "tname": "Northeast Utd",
                            "fullname": "Northeast United FC",
                            "abbr": "NOR",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2014",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/459.png"
                        },
                        {
                            "tid": "460",
                            "tname": "Jamshedpur",
                            "fullname": "Jamshedpur FC",
                            "abbr": "JAM",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2017",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/460.png"
                        },
                        {
                            "tid": "1500",
                            "tname": "Hyderabad",
                            "fullname": "Hyderabad FC",
                            "abbr": "HYD",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "2019",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/1500.png"
                        },
                        {
                            "tid": "2029",
                            "tname": "Mohun Bagan",
                            "fullname": "ATK Mohun Bagan",
                            "abbr": "MOH",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/2029.png"
                        },
                        {
                            "tid": "2030",
                            "tname": "East Bengal",
                            "fullname": "SC East Bengal",
                            "abbr": "EBE",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "",
                            "website": "",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://soccer.entitysport.com/assets/team/2030.png"
                        }
                    ],
                    "point_table": [
                        {
                            "name": "Indian Super League",
                            "groupname": "",
                            "tables": {
                                "total": [
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "1",
                                        "tid": "458",
                                        "tname": "Mumbai City",
                                        "logo": "https://soccer.entitysport.com/assets/team/458.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "7",
                                        "drawtotal": "1",
                                        "losstotal": "1",
                                        "goalsfortotal": "15",
                                        "goalsagainsttotal": "4",
                                        "goaldifftotal": "11",
                                        "pointstotal": "22"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "2",
                                        "tid": "2029",
                                        "tname": "Mohun Bagan",
                                        "logo": "https://soccer.entitysport.com/assets/team/2029.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "6",
                                        "drawtotal": "2",
                                        "losstotal": "1",
                                        "goalsfortotal": "10",
                                        "goalsagainsttotal": "3",
                                        "goaldifftotal": "7",
                                        "pointstotal": "20"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "3",
                                        "tid": "455",
                                        "tname": "Goa",
                                        "logo": "https://soccer.entitysport.com/assets/team/455.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "4",
                                        "drawtotal": "2",
                                        "losstotal": "3",
                                        "goalsfortotal": "12",
                                        "goalsagainsttotal": "10",
                                        "goaldifftotal": "2",
                                        "pointstotal": "14"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "4",
                                        "tid": "460",
                                        "tname": "Jamshedpur",
                                        "logo": "https://soccer.entitysport.com/assets/team/460.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "3",
                                        "drawtotal": "4",
                                        "losstotal": "2",
                                        "goalsfortotal": "10",
                                        "goalsagainsttotal": "9",
                                        "goaldifftotal": "1",
                                        "pointstotal": "13"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "5",
                                        "tid": "451",
                                        "tname": "Bengaluru",
                                        "logo": "https://soccer.entitysport.com/assets/team/451.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "3",
                                        "drawtotal": "3",
                                        "losstotal": "3",
                                        "goalsfortotal": "12",
                                        "goalsagainsttotal": "11",
                                        "goaldifftotal": "1",
                                        "pointstotal": "12"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "6",
                                        "tid": "1500",
                                        "tname": "Hyderabad",
                                        "logo": "https://soccer.entitysport.com/assets/team/1500.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "3",
                                        "drawtotal": "3",
                                        "losstotal": "3",
                                        "goalsfortotal": "11",
                                        "goalsagainsttotal": "11",
                                        "goaldifftotal": "0",
                                        "pointstotal": "12"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "7",
                                        "tid": "459",
                                        "tname": "Northeast Utd",
                                        "logo": "https://soccer.entitysport.com/assets/team/459.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "2",
                                        "drawtotal": "5",
                                        "losstotal": "2",
                                        "goalsfortotal": "10",
                                        "goalsagainsttotal": "10",
                                        "goaldifftotal": "0",
                                        "pointstotal": "11"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "8",
                                        "tid": "453",
                                        "tname": "Chennaiyin",
                                        "logo": "https://soccer.entitysport.com/assets/team/453.png",
                                        "positionchange": "",
                                        "playedtotal": "9",
                                        "wintotal": "2",
                                        "drawtotal": "4",
                                        "losstotal": "3",
                                        "goalsfortotal": "8",
                                        "goalsagainsttotal": "11",
                                        "goaldifftotal": "-3",
                                        "pointstotal": "10"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "9",
                                        "tid": "457",
                                        "tname": "Kerala",
                                        "logo": "https://soccer.entitysport.com/assets/team/457.png",
                                        "positionchange": "",
                                        "playedtotal": "8",
                                        "wintotal": "1",
                                        "drawtotal": "3",
                                        "losstotal": "4",
                                        "goalsfortotal": "8",
                                        "goalsagainsttotal": "13",
                                        "goaldifftotal": "-5",
                                        "pointstotal": "6"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "10",
                                        "tid": "2030",
                                        "tname": "East Bengal",
                                        "logo": "https://soccer.entitysport.com/assets/team/2030.png",
                                        "positionchange": "",
                                        "playedtotal": "8",
                                        "wintotal": "1",
                                        "drawtotal": "3",
                                        "losstotal": "4",
                                        "goalsfortotal": "8",
                                        "goalsagainsttotal": "14",
                                        "goaldifftotal": "-6",
                                        "pointstotal": "6"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "11",
                                        "tid": "454",
                                        "tname": "Odisha",
                                        "logo": "https://soccer.entitysport.com/assets/team/454.png",
                                        "positionchange": "",
                                        "playedtotal": "8",
                                        "wintotal": "0",
                                        "drawtotal": "2",
                                        "losstotal": "6",
                                        "goalsfortotal": "6",
                                        "goalsagainsttotal": "14",
                                        "goaldifftotal": "-8",
                                        "pointstotal": "2"
                                    }
                                ],
                                "home": [
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "1",
                                        "tid": "458",
                                        "tname": "Mumbai City",
                                        "logo": "https://soccer.entitysport.com/assets/team/458.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "4",
                                        "drawtotal": "1",
                                        "losstotal": "0",
                                        "goalsfortotal": "10",
                                        "goalsagainsttotal": "2",
                                        "goaldifftotal": "8",
                                        "pointstotal": "13"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "2",
                                        "tid": "2029",
                                        "tname": "Mohun Bagan",
                                        "logo": "https://soccer.entitysport.com/assets/team/2029.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "4",
                                        "drawtotal": "1",
                                        "losstotal": "0",
                                        "goalsfortotal": "6",
                                        "goalsagainsttotal": "1",
                                        "goaldifftotal": "5",
                                        "pointstotal": "13"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "3",
                                        "tid": "459",
                                        "tname": "Northeast Utd",
                                        "logo": "https://soccer.entitysport.com/assets/team/459.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "2",
                                        "drawtotal": "1",
                                        "losstotal": "1",
                                        "goalsfortotal": "3",
                                        "goalsagainsttotal": "1",
                                        "goaldifftotal": "2",
                                        "pointstotal": "7"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "4",
                                        "tid": "457",
                                        "tname": "Kerala",
                                        "logo": "https://soccer.entitysport.com/assets/team/457.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "1",
                                        "drawtotal": "2",
                                        "losstotal": "1",
                                        "goalsfortotal": "5",
                                        "goalsagainsttotal": "4",
                                        "goaldifftotal": "1",
                                        "pointstotal": "5"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "5",
                                        "tid": "451",
                                        "tname": "Bengaluru",
                                        "logo": "https://soccer.entitysport.com/assets/team/451.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "1",
                                        "drawtotal": "2",
                                        "losstotal": "2",
                                        "goalsfortotal": "7",
                                        "goalsagainsttotal": "7",
                                        "goaldifftotal": "0",
                                        "pointstotal": "5"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "5",
                                        "tid": "455",
                                        "tname": "Goa",
                                        "logo": "https://soccer.entitysport.com/assets/team/455.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "1",
                                        "drawtotal": "2",
                                        "losstotal": "2",
                                        "goalsfortotal": "7",
                                        "goalsagainsttotal": "7",
                                        "goaldifftotal": "0",
                                        "pointstotal": "5"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "7",
                                        "tid": "2030",
                                        "tname": "East Bengal",
                                        "logo": "https://soccer.entitysport.com/assets/team/2030.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "1",
                                        "drawtotal": "2",
                                        "losstotal": "1",
                                        "goalsfortotal": "5",
                                        "goalsagainsttotal": "5",
                                        "goaldifftotal": "0",
                                        "pointstotal": "5"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "8",
                                        "tid": "460",
                                        "tname": "Jamshedpur",
                                        "logo": "https://soccer.entitysport.com/assets/team/460.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "1",
                                        "drawtotal": "1",
                                        "losstotal": "2",
                                        "goalsfortotal": "6",
                                        "goalsagainsttotal": "7",
                                        "goaldifftotal": "-1",
                                        "pointstotal": "4"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "9",
                                        "tid": "1500",
                                        "tname": "Hyderabad",
                                        "logo": "https://soccer.entitysport.com/assets/team/1500.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "1",
                                        "drawtotal": "1",
                                        "losstotal": "2",
                                        "goalsfortotal": "5",
                                        "goalsagainsttotal": "7",
                                        "goaldifftotal": "-2",
                                        "pointstotal": "4"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "10",
                                        "tid": "453",
                                        "tname": "Chennaiyin",
                                        "logo": "https://soccer.entitysport.com/assets/team/453.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "0",
                                        "drawtotal": "2",
                                        "losstotal": "2",
                                        "goalsfortotal": "1",
                                        "goalsagainsttotal": "5",
                                        "goaldifftotal": "-4",
                                        "pointstotal": "2"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "11",
                                        "tid": "454",
                                        "tname": "Odisha",
                                        "logo": "https://soccer.entitysport.com/assets/team/454.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "0",
                                        "drawtotal": "1",
                                        "losstotal": "3",
                                        "goalsfortotal": "3",
                                        "goalsagainsttotal": "6",
                                        "goaldifftotal": "-3",
                                        "pointstotal": "1"
                                    }
                                ],
                                "away": [
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "1",
                                        "tid": "458",
                                        "tname": "Mumbai City",
                                        "logo": "https://soccer.entitysport.com/assets/team/458.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "3",
                                        "drawtotal": "0",
                                        "losstotal": "1",
                                        "goalsfortotal": "5",
                                        "goalsagainsttotal": "2",
                                        "goaldifftotal": "3",
                                        "pointstotal": "9"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "2",
                                        "tid": "2029",
                                        "tname": "Mohun Bagan",
                                        "logo": "https://soccer.entitysport.com/assets/team/2029.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "2",
                                        "drawtotal": "1",
                                        "losstotal": "1",
                                        "goalsfortotal": "4",
                                        "goalsagainsttotal": "2",
                                        "goaldifftotal": "2",
                                        "pointstotal": "7"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "3",
                                        "tid": "455",
                                        "tname": "Goa",
                                        "logo": "https://soccer.entitysport.com/assets/team/455.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "3",
                                        "drawtotal": "0",
                                        "losstotal": "1",
                                        "goalsfortotal": "5",
                                        "goalsagainsttotal": "3",
                                        "goaldifftotal": "2",
                                        "pointstotal": "9"
                                    },
                                    {
                                        "promotion": {
                                            "type": "promotion",
                                            "name": "Playoffs"
                                        },
                                        "position": "4",
                                        "tid": "460",
                                        "tname": "Jamshedpur",
                                        "logo": "https://soccer.entitysport.com/assets/team/460.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "2",
                                        "drawtotal": "3",
                                        "losstotal": "0",
                                        "goalsfortotal": "4",
                                        "goalsagainsttotal": "2",
                                        "goaldifftotal": "2",
                                        "pointstotal": "9"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "5",
                                        "tid": "451",
                                        "tname": "Bengaluru",
                                        "logo": "https://soccer.entitysport.com/assets/team/451.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "2",
                                        "drawtotal": "1",
                                        "losstotal": "1",
                                        "goalsfortotal": "5",
                                        "goalsagainsttotal": "4",
                                        "goaldifftotal": "1",
                                        "pointstotal": "7"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "6",
                                        "tid": "1500",
                                        "tname": "Hyderabad",
                                        "logo": "https://soccer.entitysport.com/assets/team/1500.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "2",
                                        "drawtotal": "2",
                                        "losstotal": "1",
                                        "goalsfortotal": "6",
                                        "goalsagainsttotal": "4",
                                        "goaldifftotal": "2",
                                        "pointstotal": "8"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "7",
                                        "tid": "459",
                                        "tname": "Northeast Utd",
                                        "logo": "https://soccer.entitysport.com/assets/team/459.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "0",
                                        "drawtotal": "4",
                                        "losstotal": "1",
                                        "goalsfortotal": "7",
                                        "goalsagainsttotal": "9",
                                        "goaldifftotal": "-2",
                                        "pointstotal": "4"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "8",
                                        "tid": "453",
                                        "tname": "Chennaiyin",
                                        "logo": "https://soccer.entitysport.com/assets/team/453.png",
                                        "positionchange": "",
                                        "playedtotal": "5",
                                        "wintotal": "2",
                                        "drawtotal": "2",
                                        "losstotal": "1",
                                        "goalsfortotal": "7",
                                        "goalsagainsttotal": "6",
                                        "goaldifftotal": "1",
                                        "pointstotal": "8"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "9",
                                        "tid": "457",
                                        "tname": "Kerala",
                                        "logo": "https://soccer.entitysport.com/assets/team/457.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "0",
                                        "drawtotal": "1",
                                        "losstotal": "3",
                                        "goalsfortotal": "3",
                                        "goalsagainsttotal": "9",
                                        "goaldifftotal": "-6",
                                        "pointstotal": "1"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "10",
                                        "tid": "2030",
                                        "tname": "East Bengal",
                                        "logo": "https://soccer.entitysport.com/assets/team/2030.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "0",
                                        "drawtotal": "1",
                                        "losstotal": "3",
                                        "goalsfortotal": "3",
                                        "goalsagainsttotal": "9",
                                        "goaldifftotal": "-6",
                                        "pointstotal": "1"
                                    },
                                    {
                                        "promotion": "",
                                        "position": "11",
                                        "tid": "454",
                                        "tname": "Odisha",
                                        "logo": "https://soccer.entitysport.com/assets/team/454.png",
                                        "positionchange": "",
                                        "playedtotal": "4",
                                        "wintotal": "0",
                                        "drawtotal": "1",
                                        "losstotal": "3",
                                        "goalsfortotal": "3",
                                        "goalsagainsttotal": "8",
                                        "goaldifftotal": "-5",
                                        "pointstotal": "1"
                                    }
                                ]
                            }
                        }
                    ]
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "1a914e5ec7654acbe938855b13f03162",
        "modified": "2021-01-05 15:47:06",
        "datetime": "2021-01-05 15:47:06",
        "api_version": "1.0"
    }
    
    
    

    This API has competition's teams and points table information. Points table with total, home and away league standings.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    tournament_id string tournament id of competition native country
    category_id string category id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    teams array An array of all teams related to the competition. see teams object reference
    point_table array An array of points table of the competition. see table object reference

    Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    logo string team logo url

    Table Object Reference

    Parameter Value Description
    tid string team id
    name string Points table name
    groupname string group points table name
    tables array An array of total, home and away performance points table. see points table object reference

    Points Table Object Reference

    Parameter Value Description
    promotion array an array of promotion/relegation information. see promotion object reference
    position string Team position in the table
    tid string team id
    tname string team name
    logo string team logo url
    positionchange string position change indicater positive value for upward movement, negative value for downward movement
    playedtotal string total matches played by the team
    wintotal string total won matches by the team
    drawtotal string total drawn matches by the team
    losstotal string total lost matches by the team
    goalsfortotal string total goals scored by the team
    goalsagainsttotal string total goals scored against the team by opposition teams
    goaldifftotal string total goal difference
    pointstotal string total points won by the team

    Promotion Object Reference

    Parameter Value Description
    type string Promotion type
    name string Promotion name

    Competitions Squad API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/competition/3/squad?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "competition": [
                {
                    "cid": "165",
                    "cname": "Indian Super League",
                    "startdate": "2020-11-20 00:00:00",
                    "enddate": "2021-03-23 00:00:00",
                    "startdatetimestamp": "1605830400",
                    "endtdatetimestamp": "1616457600",
                    "year": "20/21",
                    "category": "India",
                    "tournament_id": "16",
                    "category_id": "14",
                    "ioc": "in",
                    "status": "3",
                    "status_str": "live",
                    "logo": ""
                }
            ],
            "teams": [
                {
                    "tid": "459",
                    "tname": "Northeast Utd",
                    "fullname": "Northeast United FC",
                    "abbr": "NOR",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "2014",
                    "website": "",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://soccer.entitysport.com/assets/team/459.png",
                    "squads": [
                        {
                            "pid": "6025",
                            "fullname": "Dylan Fox",
                            "birthdatetimestamp": "757382400",
                            "birthdate": "1994-01-01 00:00:00",
                            "nationality": {
                                "iocid": "13",
                                "name": "Australia",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "186",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8686",
                            "fullname": "Ashutosh Mehta",
                            "birthdatetimestamp": "667094400",
                            "birthdate": "1991-02-21 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "176",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8807",
                            "fullname": "Wayne Vaz",
                            "birthdatetimestamp": "",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8879",
                            "fullname": "Fanai Lalrempuia",
                            "birthdatetimestamp": "831772800",
                            "birthdate": "1996-05-11 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "172",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8896",
                            "fullname": "Provat Lakra",
                            "birthdatetimestamp": "871344000",
                            "birthdate": "1997-08-12 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8900",
                            "fullname": "Subhasish Roy Chowdhury",
                            "birthdatetimestamp": "528163200",
                            "birthdate": "1986-09-27 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "182",
                            "weight": "80",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8914",
                            "fullname": "Sanjiban Ghosh",
                            "birthdatetimestamp": "678758400",
                            "birthdate": "1991-07-06 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "10371",
                            "fullname": "Luis Machado",
                            "birthdatetimestamp": "720835200",
                            "birthdate": "1992-11-04 00:00:00",
                            "nationality": {
                                "iocid": "172",
                                "name": "Portugal",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "168",
                            "weight": "62",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "12526",
                            "fullname": "Benjamin Lambot",
                            "birthdatetimestamp": "546912000",
                            "birthdate": "1987-05-02 00:00:00",
                            "nationality": {
                                "iocid": "21",
                                "name": "Belgium",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "180",
                            "weight": "81",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "14292",
                            "fullname": "Idrissa Sylla",
                            "birthdatetimestamp": "660182400",
                            "birthdate": "1990-12-03 00:00:00",
                            "nationality": {
                                "iocid": "89",
                                "name": "Guinea",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "187",
                            "weight": "75",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "16365",
                            "fullname": "Kwesi Appiah",
                            "birthdatetimestamp": "650419200",
                            "birthdate": "1990-08-12 00:00:00",
                            "nationality": {
                                "iocid": "81",
                                "name": "Ghana",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "181",
                            "weight": "80",
                            "foot": "",
                            "twitter": "https://twitter.com/kwes1appiah",
                            "facebook": "",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "17689",
                            "fullname": "Khassa Camara",
                            "birthdatetimestamp": "719712000",
                            "birthdate": "1992-10-22 00:00:00",
                            "nationality": {
                                "iocid": "135",
                                "name": "Mauritania",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "175",
                            "weight": "66",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "28190",
                            "fullname": "Federico Gallego",
                            "birthdatetimestamp": "645235200",
                            "birthdate": "1990-06-13 00:00:00",
                            "nationality": {
                                "iocid": "228",
                                "name": "Uruguay",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "175",
                            "weight": "76",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "10"
                        },
                        {
                            "pid": "28221",
                            "fullname": "Nim Dorjee Tamang",
                            "birthdatetimestamp": "813110400",
                            "birthdate": "1995-10-08 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "179",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "28305",
                            "fullname": "Gurmeet",
                            "birthdatetimestamp": "944179200",
                            "birthdate": "1999-12-03 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "47173",
                            "fullname": "Ninthoi Meetei",
                            "birthdatetimestamp": "994982400",
                            "birthdate": "2001-07-13 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "163",
                            "weight": "",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "47174",
                            "fullname": "Lalengmawia",
                            "birthdatetimestamp": "971740800",
                            "birthdate": "2000-10-17 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "176",
                            "weight": "",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "47175",
                            "fullname": "Rakesh Pradhan",
                            "birthdatetimestamp": "870480000",
                            "birthdate": "1997-08-02 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "170",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "47277",
                            "fullname": "Pragyan Gogoi",
                            "birthdatetimestamp": "917222400",
                            "birthdate": "1999-01-25 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64031",
                            "fullname": "Gurjinder Kumar",
                            "birthdatetimestamp": "655516800",
                            "birthdate": "1990-10-10 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "178",
                            "weight": "",
                            "foot": "Left",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64032",
                            "fullname": "Rochharzela",
                            "birthdatetimestamp": "892598400",
                            "birthdate": "1998-04-15 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64033",
                            "fullname": "Lalkhawpuimawia Lalkhawpuimawia",
                            "birthdatetimestamp": "694828800",
                            "birthdate": "1992-01-08 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "175",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "64034",
                            "fullname": "Suhair VP",
                            "birthdatetimestamp": "712195200",
                            "birthdate": "1992-07-27 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "64035",
                            "fullname": "Mashoor Thangalakath",
                            "birthdatetimestamp": "726192000",
                            "birthdate": "1993-01-05 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64036",
                            "fullname": "Nikhil Deka",
                            "birthdatetimestamp": "1034467200",
                            "birthdate": "2002-10-13 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64091",
                            "fullname": "Britto PM",
                            "birthdatetimestamp": "732153600",
                            "birthdate": "1993-03-15 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "65362",
                            "fullname": "Nabin Rabha",
                            "birthdatetimestamp": "850262400",
                            "birthdate": "1996-12-11 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "65363",
                            "fullname": "Imran Khan",
                            "birthdatetimestamp": "794016000",
                            "birthdate": "1995-03-01 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        }
                    ]
                }
            ],
            "total_items": 11,
            "total_pages": 11
        },
        "etag": "82a953d009475cf3aa3b252aac1f3e48",
        "modified": "2021-01-05 16:06:59",
        "datetime": "2021-01-05 16:06:59",
        "api_version": "1.0"
    }
    
    

    This API has competition's all teams squad/roaster player details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    competition array An array of competition details. see competition object reference
    teams array An array of all teams related to the competition containing an array of players. see teams object reference

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    tournament_id string tournament id of competition native country
    category_id string category id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    teams array An array of all teams related to the competition.

    Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    squads array An array of player details. see player object reference

    Player Object Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdatetimestamp string Player Birthdate timestamp
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    height string player height in centimeters
    foot string player preferred foot
    twitter string twitter account url
    facebook string facebook account url

    Nationality Object Reference

    Parameter Value Description
    iocid string country ioc code
    name string country name
    ioc string 2 letter ioc code

    Competitions Matches API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/competition/3/matches?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": "45580",
                    "round": "",
                    "result": {
                        "home": "0",
                        "away": "1",
                        "winner": "away"
                    },
                    "teams": {
                        "home": {
                            "tid": "457",
                            "tname": "Kerala",
                            "logo": "https://soccer.entitysport.com/assets/team/457.png",
                            "fullname": "Kerala Blasters FC",
                            "abbr": "KER"
                        },
                        "away": {
                            "tid": "2029",
                            "tname": "Mohun Bagan",
                            "logo": "https://soccer.entitysport.com/assets/team/2029.png",
                            "fullname": "ATK Mohun Bagan",
                            "abbr": "MOH"
                        }
                    },
                    "periods": {
                        "p1": {
                            "home": 0,
                            "away": 0
                        },
                        "p2": {
                            "home": 0,
                            "away": 1
                        },
                        "ft": {
                            "home": 0,
                            "away": 1
                        }
                    },
                    "datestart": "2020-11-20 14:00:00",
                    "dateend": "2020-11-20 15:55:39",
                    "timestampstart": "1605880800",
                    "timestampend": "1605887739",
                    "injurytime": "",
                    "time": "0",
                    "status_str": "result",
                    "status": "2",
                    "gamestate_str": "Ended",
                    "gamestate": "6",
                    "pre_squad": "true",
                    "verified": "true",
                    "periodlength": "",
                    "numberofperiods": "",
                    "attendance": "",
                    "overtimelength": "",
                    "competition": {
                        "cid": "165",
                        "cname": "Indian Super League",
                        "startdate": "2020-11-20 00:00:00",
                        "enddate": "2021-03-23 00:00:00",
                        "startdatetimestamp": "1605830400",
                        "endtdatetimestamp": "1616457600",
                        "year": "20/21",
                        "category": "India",
                        "tournament_id": "16",
                        "category_id": "14",
                        "ioc": "in",
                        "status": "3",
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": "1682",
                        "name": "GMC Stadium Bambolim",
                        "location": "Bambolim, India",
                        "founded": "",
                        "capacity": "",
                        "googlecoords": "15.467814,73.862203"
                    },
                    "lineupavailable": "true",
                    "projectionavailable": "false",
                    "eventavailable": "false",
                    "commentaryavailable": "false"
                }
            ],
            "total_items": 48,
            "total_pages": 48
        },
        "etag": "11eb8703c0734020851d06554fcd4856",
        "modified": "2021-01-05 16:16:13",
        "datetime": "2021-01-05 16:16:13",
        "api_version": "1.0"
    }
    
    

    This API has competition's all matches details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid string match id
    round string round details.
    result array An array of match result details. see result object reference
    teams array An array of match teams details. see teams object reference
    period array An array of match period wise details. see period object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    injurytime string added injury time after the end of regular period time
    time string match running time in minutes
    status_str string Match status string live, completed, upcoming
    status string Match status code 3 = live, 2 = completed, 1 = upcoming
    gamestate_str string Match state string
    gamestate string Match state code
    periodlength string match period length in minutes
    numberofperiods string number of periods in the match
    attendance string total spectator attendance of the match
    overtimelength string overtime length in minutes
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference
    lineupavailable string line up available when true, not available when false
    projectionavailable string match game play state available when true, not available when false
    eventavailable string events available when true, not available when false
    commentaryavailable string play by play available when true, not available when false

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    logo string team logo url

    Period Object Reference

    Parameter Value Description
    p1 array An array of team score details in period 1. see p1 object reference
    p2 array An array of team score details in period 2. see p2 object reference
    ft array An array of team score details after full time. see ft object reference

    P1/P2/FT Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    tournament_id string tournament id of competition native country
    category_id string category id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Object Reference

    Parameter Value Description
    venueid string venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity
    googlecoords string venue google co-ordinates

    Competitions Statistic API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/competition/3/statsv2?token=[ACCESS_TOKEN]&per_page=2"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": 742,
                    "name": "Luka Jovic",
                    "team": {
                        "tid": 95,
                        "name": "Frankfurt"
                    },
                    "assist": 3,
                    "goals": 14,
                    "shotsontarget": 23,
                    "shotsofftarget": 20,
                    "shotsblocked": 9,
                    "dribbleattempts": 14,
                    "dribblesuccess": 21,
                    "bigchancemissed": 10,
                    "penaltywon": 0,
                    "hitwoodwork": 0,
                    "penaltymiss": 0,
                    "totalclearance": 16,
                    "outfielderblock": 0,
                    "interceptionwon": 3,
                    "totaltackle": 7,
                    "challengelost": 5,
                    "owngoals": 0,
                    "penaltycommitted": 0,
                    "errorledtoshot": 0,
                    "lastmantackle": 0,
                    "clearanceoffline": 0,
                    "passingaccuracy": 71,
                    "accuratepass": 223,
                    "totalpass": 313,
                    "longballsacc": 14,
                    "totalLongballs": 23,
                    "totalcross": 10,
                    "crossesacc": 3,
                    "bigchancecreated": 5,
                    "errorledtogoal": 0,
                    "dispossessed": 20,
                    "duelstotal": 163,
                    "duelsown": 75,
                    "wasfouled": 22,
                    "fouls": 17,
                    "runsoutsucess": 0,
                    "totalrunsout": 0,
                    "goodhighclaim": 0,
                    "punches": 0,
                    "saves": 0,
                    "savesfrominsidebox": 0,
                    "yellowcard": 0,
                    "redcard": 0
                },
                {
                    "pid": 210,
                    "name": "Marco Reus",
                    "team": {
                        "tid": 94,
                        "name": "Dortmund"
                    },
                    "assist": 6,
                    "goals": 13,
                    "shotsontarget": 26,
                    "shotsofftarget": 19,
                    "shotsblocked": 8,
                    "dribbleattempts": 16,
                    "dribblesuccess": 43,
                    "bigchancemissed": 13,
                    "penaltywon": 1,
                    "hitwoodwork": 4,
                    "penaltymiss": 0,
                    "totalclearance": 25,
                    "outfielderblock": 1,
                    "interceptionwon": 6,
                    "totaltackle": 27,
                    "challengelost": 12,
                    "owngoals": 0,
                    "penaltycommitted": 1,
                    "errorledtoshot": 0,
                    "lastmantackle": 0,
                    "clearanceoffline": 0,
                    "passingaccuracy": 82,
                    "accuratepass": 604,
                    "totalpass": 738,
                    "longballsacc": 33,
                    "totalLongballs": 46,
                    "totalcross": 28,
                    "crossesacc": 7,
                    "bigchancecreated": 8,
                    "errorledtogoal": 0,
                    "dispossessed": 30,
                    "duelstotal": 192,
                    "duelsown": 80,
                    "wasfouled": 22,
                    "fouls": 23,
                    "runsoutsucess": 0,
                    "totalrunsout": 0,
                    "goodhighclaim": 0,
                    "punches": 0,
                    "saves": 0,
                    "savesfrominsidebox": 0,
                    "yellowcard": 2,
                    "redcard": 0
                }
            ],
            "total_items": 409,
            "total_pages": 205
        },
        "etag": "95ae8dc4d31fbf72ec76b6ff44ae1fa5",
        "modified": "2019-02-02 16:29:32",
        "datetime": "2019-02-02 16:29:32",
        "api_version": "1.0"
    }
    
    

    This API has competition's total player statistic details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    pid integer player id
    name string player name
    team array array of team details. see team object reference
    assist integer details of total assist made by the player.
    goals integer details of total goals scored by the player.
    shotsontarget integer details of shots on target by the player.
    shotsofftarget integer details of shots off target by the player.
    shotsblocked integer details of shots blocked.
    dribbleattempts integer details of dribble attempted by the player.
    dribblesuccess integer details of dribble success by the player.
    bigchancemissed integer details of big chance missed by the player.
    penaltywon integer details of penalty won by the player.
    hitwoodwork integer details of crossbar hit by the player.
    penaltymiss integer details of penalty missed by the player.
    totalclearance integer details of total clearance by the player.
    outfielderblock integer details of out field block by the player.
    interceptionwon integer details of interception won.
    totaltackle integer details of total tackle by the player.
    challengelost integer details of challenge lost by the player.
    owngoals integer details of own goals by the player.
    penaltycommitted integer details of penalty committed by the player.
    errorledtoshot integer details of defence error let to the shot by the player.
    lastmantackle integer details of last man tackle by the player.
    clearanceoffline integer details of call clearance by the player.
    passingaccuracy integer details of passing accuracy by the player.
    accuratepass integer details of accurate passes by the player.
    totalpass integer details of total passes.
    longballsacc integer details of long balls accuracy by the player.
    totalLongballs integer details of total Long balls by the player.
    totalcross integer details of total crosses by the player.
    crossesacc integer details of crosses accuracy by the player.
    bigchancecreated integer details of big chance created by the player.
    errorledtogoal integer details of error led to goal by the player.
    dispossessed integer details of player dispossessed.
    duelstotal integer details of total duels by the player.
    duelswon integer details of duels won by the player.
    wasfouled integer details of the player was fouled.
    fouls integer details of fouls by the player.
    runsoutsucess integer details of runs out success.
    totalrunsOut integer details of total runs outside the box.
    goodhighclaim integer details of good high ball saves.
    punches integer details of punches to the ball inside box from cross.
    saves integer details of saves the player.
    savesfrominsidebox integer details of saves from insidebox.
    yellowcard integer details of number of yellow card received by the player.
    redcard integer details of number of red card received by the player.

    Team Object Reference

    Parameter Value Description
    tid integer team id
    name string team name

    Matches List API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://soccer.entitysport.com/matches?token=[ACCESS_TOKEN]&status=1"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://soccer.entitysport.com/matches?token=[ACCESS_TOKEN]&status=1&per_page=10&paged=1"
    
    curl -X GET "https://soccer.entitysport.com/matches?date=2018-02-12(Date start - yyyy-mm-dd)_2018-02-13(Date end - yyyy-mm-dd)&token=[ACCESS_TOKEN]&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": "45580",
                    "round": "",
                    "result": {
                        "home": "0",
                        "away": "1",
                        "winner": "away"
                    },
                    "teams": {
                        "home": {
                            "tid": "457",
                            "tname": "Kerala",
                            "logo": "https://soccer.entitysport.com/assets/team/457.png",
                            "fullname": "Kerala Blasters FC",
                            "abbr": "KER"
                        },
                        "away": {
                            "tid": "2029",
                            "tname": "Mohun Bagan",
                            "logo": "https://soccer.entitysport.com/assets/team/2029.png",
                            "fullname": "ATK Mohun Bagan",
                            "abbr": "MOH"
                        }
                    },
                    "periods": {
                        "p1": {
                            "home": 0,
                            "away": 0
                        },
                        "p2": {
                            "home": 0,
                            "away": 1
                        },
                        "ft": {
                            "home": 0,
                            "away": 1
                        }
                    },
                    "datestart": "2020-11-20 14:00:00",
                    "dateend": "2020-11-20 15:55:39",
                    "timestampstart": "1605880800",
                    "timestampend": "1605887739",
                    "injurytime": "",
                    "time": "0",
                    "status_str": "result",
                    "status": "2",
                    "gamestate_str": "Ended",
                    "gamestate": "6",
                    "pre_squad": "true",
                    "verified": "true",
                    "periodlength": "",
                    "numberofperiods": "",
                    "attendance": "",
                    "overtimelength": "",
                    "competition": {
                        "cid": "165",
                        "cname": "Indian Super League",
                        "startdate": "2020-11-20 00:00:00",
                        "enddate": "2021-03-23 00:00:00",
                        "startdatetimestamp": "1605830400",
                        "endtdatetimestamp": "1616457600",
                        "year": "20/21",
                        "category": "India",
                        "tournament_id": "16",
                        "category_id": "14",
                        "ioc": "in",
                        "status": "3",
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": "1682",
                        "name": "GMC Stadium Bambolim",
                        "location": "Bambolim, India",
                        "founded": "",
                        "capacity": "",
                        "googlecoords": "15.467814,73.862203"
                    },
                    "lineupavailable": "true",
                    "projectionavailable": "false",
                    "eventavailable": "false",
                    "commentaryavailable": "false"
                }
            ],
            "total_items": 48,
            "total_pages": 48
        },
        "etag": "11eb8703c0734020851d06554fcd4856",
        "modified": "2021-01-05 16:16:13",
        "datetime": "2021-01-05 16:16:13",
        "api_version": "1.0"
    }
    
    

    This API has list of all matches user have access.

    Request

    Parameter Value Description
    status integer status code 1 = upcoming, 2 = result, 3 = live.
    date string List matches of specific date. Need both date start and date end values. date value example - 2018-02-12 (yyyy-mm-dd)
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid string match id
    round string round details.
    result array An array of match result details. see result object reference
    teams array An array of match teams details. see teams object reference
    period array An array of match period wise details. see period object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    injurytime string added injury time after the end of regular period time
    time string match running time in minutes
    status_str string Match status string live, completed, upcoming
    status string Match status code 3 = live, 2 = completed, 1 = upcoming
    gamestate_str string Match state string
    gamestate string Match state code
    periodlength string match period length in minutes
    numberofperiods string number of periods in the match
    attendance string total spectator attendance of the match
    overtimelength string overtime length in minutes
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference
    lineupavailable string line up available when true, not available when false
    projectionavailable string match game play state available when true, not available when false
    eventavailable string events available when true, not available when false
    commentaryavailable string play by play available when true, not available when false

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    logo string team logo url
    fullname string team full name
    abbr string shortname team name

    Period Object Reference

    Parameter Value Description
    p1 array An array of team score details in period 1. see p1 object reference
    p2 array An array of team score details in period 2. see p2 object reference
    ft array An array of team score details after full time. see ft object reference

    P1/P2/FT Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    tournament_id string tournament id of competition native country
    category_id string category id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Object Reference

    Parameter Value Description
    venueid string venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity
    googlecoords string venue google co-ordinates


    Match Info API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/matches/470/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": [
                    {
                        "mid": "45627",
                        "round": "",
                        "result": {
                            "home": "1",
                            "away": "3",
                            "winner": "away"
                        },
                        "teams": {
                            "home": {
                                "tid": "451",
                                "tname": "Bengaluru",
                                "logo": "https://soccer.entitysport.com/assets/team/451.png",
                                "fullname": "Bengaluru FC",
                                "abbr": "BGL"
                            },
                            "away": {
                                "tid": "458",
                                "tname": "Mumbai City",
                                "logo": "https://soccer.entitysport.com/assets/team/458.png",
                                "fullname": "Mumbai City FC",
                                "abbr": "MUM"
                            }
                        },
                        "periods": {
                            "p1": {
                                "home": 0,
                                "away": 2
                            },
                            "p2": {
                                "home": 1,
                                "away": 1
                            },
                            "ft": {
                                "home": 1,
                                "away": 3
                            }
                        },
                        "datestart": "2021-01-05 14:00:00",
                        "dateend": "2021-01-05 15:53:07",
                        "timestampstart": "1609855200",
                        "timestampend": "1609861987",
                        "injurytime": "",
                        "time": "90",
                        "status_str": "result",
                        "status": "2",
                        "gamestate_str": "Ended",
                        "gamestate": "6",
                        "pre_squad": "true",
                        "verified": "false",
                        "periodlength": "",
                        "numberofperiods": "",
                        "attendance": "",
                        "overtimelength": "",
                        "competition": {
                            "cid": "165",
                            "cname": "Indian Super League",
                            "startdate": "2020-11-20 00:00:00",
                            "enddate": "2021-03-23 00:00:00",
                            "startdatetimestamp": "1605830400",
                            "endtdatetimestamp": "1616457600",
                            "year": "20/21",
                            "category": "India",
                            "tournament_id": "16",
                            "category_id": "14",
                            "ioc": "in",
                            "status": "3",
                            "status_str": "live",
                            "logo": ""
                        },
                        "venue": {
                            "venueid": "1350",
                            "name": "Jawaharlal Nehru Stadium",
                            "location": "Margao, India",
                            "founded": "",
                            "capacity": "20000",
                            "googlecoords": "15.289208, 73.962480"
                        },
                        "lineupavailable": "true",
                        "projectionavailable": "true",
                        "eventavailable": "true",
                        "commentaryavailable": "true"
                    }
                ],
                "shirt": {
                    "home": {
                        "player": {
                            "shirt": "3333b3",
                            "sleeve": "",
                            "number": "ffffff",
                            "stripes": ""
                        },
                        "gk": {
                            "shirt": "ffff33",
                            "sleeve": "",
                            "number": "333333",
                            "stripes": ""
                        }
                    },
                    "away": {
                        "player": {
                            "shirt": "3333ff",
                            "sleeve": "",
                            "number": "ffef9b",
                            "stripes": ""
                        },
                        "gk": {
                            "shirt": "ffff33",
                            "sleeve": "",
                            "number": "333333",
                            "stripes": ""
                        }
                    }
                },
                "referee": [],
                "match_projection": [
                    {
                        "time": 1,
                        "injurytime": 0,
                        "value": "-5"
                    },
                    {
                        "time": 2,
                        "injurytime": 0,
                        "value": "-8"
                    },
                    {
                        "time": 3,
                        "injurytime": 0,
                        "value": "-13"
                    },
                    {
                        "time": 4,
                        "injurytime": 0,
                        "value": "-10"
                    },
                    {
                        "time": 5,
                        "injurytime": 0,
                        "value": "30"
                    },
                    {
                        "time": 6,
                        "injurytime": 0,
                        "value": "-10"
                    },
                    {
                        "time": 7,
                        "injurytime": 0,
                        "value": "-19"
                    },
                    {
                        "time": 8,
                        "injurytime": 0,
                        "value": "-30"
                    },
                    {
                        "time": 9,
                        "injurytime": 0,
                        "value": "-30"
                    },
                    {
                        "time": 10,
                        "injurytime": 0,
                        "value": "-26"
                    },
                    {
                        "time": 11,
                        "injurytime": 0,
                        "value": "-8"
                    },
                    {
                        "time": 12,
                        "injurytime": 0,
                        "value": "-11"
                    },
                    {
                        "time": 13,
                        "injurytime": 0,
                        "value": "5"
                    },
                    {
                        "time": 14,
                        "injurytime": 0,
                        "value": "-7"
                    },
                    {
                        "time": 15,
                        "injurytime": 0,
                        "value": "-30"
                    },
                    {
                        "time": 16,
                        "injurytime": 0,
                        "value": "-29"
                    },
                    {
                        "time": 17,
                        "injurytime": 0,
                        "value": "14"
                    },
                    {
                        "time": 18,
                        "injurytime": 0,
                        "value": "-11"
                    },
                    {
                        "time": 19,
                        "injurytime": 0,
                        "value": "-9"
                    },
                    {
                        "time": 20,
                        "injurytime": 0,
                        "value": "-11"
                    },
                    {
                        "time": 21,
                        "injurytime": 0,
                        "value": "-10"
                    },
                    {
                        "time": 22,
                        "injurytime": 0,
                        "value": "10"
                    },
                    {
                        "time": 23,
                        "injurytime": 0,
                        "value": "-15"
                    },
                    {
                        "time": 24,
                        "injurytime": 0,
                        "value": "-3"
                    },
                    {
                        "time": 25,
                        "injurytime": 0,
                        "value": "-11"
                    },
                    {
                        "time": 26,
                        "injurytime": 0,
                        "value": "-10"
                    },
                    {
                        "time": 27,
                        "injurytime": 0,
                        "value": "-3"
                    },
                    {
                        "time": 28,
                        "injurytime": 0,
                        "value": "21"
                    },
                    {
                        "time": 29,
                        "injurytime": 0,
                        "value": "10"
                    },
                    {
                        "time": 30,
                        "injurytime": 0,
                        "value": "-12"
                    },
                    {
                        "time": 31,
                        "injurytime": 0,
                        "value": "-30"
                    },
                    {
                        "time": 32,
                        "injurytime": 0,
                        "value": "-30"
                    },
                    {
                        "time": 33,
                        "injurytime": 0,
                        "value": "7"
                    },
                    {
                        "time": 34,
                        "injurytime": 0,
                        "value": "22"
                    },
                    {
                        "time": 35,
                        "injurytime": 0,
                        "value": "10"
                    },
                    {
                        "time": 36,
                        "injurytime": 0,
                        "value": "10"
                    },
                    {
                        "time": 37,
                        "injurytime": 0,
                        "value": "-14"
                    },
                    {
                        "time": 38,
                        "injurytime": 0,
                        "value": "26"
                    },
                    {
                        "time": 39,
                        "injurytime": 0,
                        "value": "17"
                    },
                    {
                        "time": 40,
                        "injurytime": 0,
                        "value": "30"
                    },
                    {
                        "time": 41,
                        "injurytime": 0,
                        "value": "30"
                    },
                    {
                        "time": 42,
                        "injurytime": 0,
                        "value": "29"
                    },
                    {
                        "time": 43,
                        "injurytime": 0,
                        "value": "4"
                    },
                    {
                        "time": 44,
                        "injurytime": 0,
                        "value": "5"
                    },
                    {
                        "time": 45,
                        "injurytime": 0,
                        "value": "-7"
                    },
                    {
                        "time": 45,
                        "injurytime": 1,
                        "value": "7"
                    },
                    {
                        "time": 45,
                        "injurytime": 2,
                        "value": "23"
                    },
                    {
                        "time": 45,
                        "injurytime": 3,
                        "value": "4"
                    },
                    {
                        "time": 46,
                        "injurytime": 0,
                        "value": "-12"
                    },
                    {
                        "time": 47,
                        "injurytime": 0,
                        "value": "-26"
                    },
                    {
                        "time": 48,
                        "injurytime": 0,
                        "value": "-14"
                    },
                    {
                        "time": 49,
                        "injurytime": 0,
                        "value": "-7"
                    },
                    {
                        "time": 50,
                        "injurytime": 0,
                        "value": "-12"
                    },
                    {
                        "time": 51,
                        "injurytime": 0,
                        "value": "3"
                    },
                    {
                        "time": 52,
                        "injurytime": 0,
                        "value": "23"
                    },
                    {
                        "time": 53,
                        "injurytime": 0,
                        "value": "26"
                    },
                    {
                        "time": 54,
                        "injurytime": 0,
                        "value": "8"
                    },
                    {
                        "time": 55,
                        "injurytime": 0,
                        "value": "-1"
                    },
                    {
                        "time": 56,
                        "injurytime": 0,
                        "value": "-5"
                    },
                    {
                        "time": 57,
                        "injurytime": 0,
                        "value": "17"
                    },
                    {
                        "time": 58,
                        "injurytime": 0,
                        "value": "30"
                    },
                    {
                        "time": 59,
                        "injurytime": 0,
                        "value": "13"
                    },
                    {
                        "time": 60,
                        "injurytime": 0,
                        "value": "2"
                    },
                    {
                        "time": 61,
                        "injurytime": 0,
                        "value": "-2"
                    },
                    {
                        "time": 62,
                        "injurytime": 0,
                        "value": "14"
                    },
                    {
                        "time": 63,
                        "injurytime": 0,
                        "value": "15"
                    },
                    {
                        "time": 64,
                        "injurytime": 0,
                        "value": "22"
                    },
                    {
                        "time": 65,
                        "injurytime": 0,
                        "value": "8"
                    },
                    {
                        "time": 66,
                        "injurytime": 0,
                        "value": "30"
                    },
                    {
                        "time": 67,
                        "injurytime": 0,
                        "value": "16"
                    },
                    {
                        "time": 68,
                        "injurytime": 0,
                        "value": "-3"
                    },
                    {
                        "time": 69,
                        "injurytime": 0,
                        "value": "14"
                    },
                    {
                        "time": 70,
                        "injurytime": 0,
                        "value": "-11"
                    },
                    {
                        "time": 71,
                        "injurytime": 0,
                        "value": "21"
                    },
                    {
                        "time": 72,
                        "injurytime": 0,
                        "value": "15"
                    },
                    {
                        "time": 73,
                        "injurytime": 0,
                        "value": "15"
                    },
                    {
                        "time": 74,
                        "injurytime": 0,
                        "value": "5"
                    },
                    {
                        "time": 75,
                        "injurytime": 0,
                        "value": "-3"
                    },
                    {
                        "time": 76,
                        "injurytime": 0,
                        "value": "-0"
                    },
                    {
                        "time": 77,
                        "injurytime": 0,
                        "value": "15"
                    },
                    {
                        "time": 78,
                        "injurytime": 0,
                        "value": "30"
                    },
                    {
                        "time": 79,
                        "injurytime": 0,
                        "value": "30"
                    },
                    {
                        "time": 80,
                        "injurytime": 0,
                        "value": "15"
                    },
                    {
                        "time": 81,
                        "injurytime": 0,
                        "value": "-8"
                    },
                    {
                        "time": 82,
                        "injurytime": 0,
                        "value": "-30"
                    },
                    {
                        "time": 83,
                        "injurytime": 0,
                        "value": "-13"
                    },
                    {
                        "time": 84,
                        "injurytime": 0,
                        "value": "-30"
                    },
                    {
                        "time": 85,
                        "injurytime": 0,
                        "value": "-18"
                    },
                    {
                        "time": 86,
                        "injurytime": 0,
                        "value": "16"
                    },
                    {
                        "time": 87,
                        "injurytime": 0,
                        "value": "-0"
                    },
                    {
                        "time": 88,
                        "injurytime": 0,
                        "value": "15"
                    },
                    {
                        "time": 89,
                        "injurytime": 0,
                        "value": "29"
                    },
                    {
                        "time": 90,
                        "injurytime": 0,
                        "value": "9"
                    },
                    {
                        "time": 90,
                        "injurytime": 1,
                        "value": "7"
                    },
                    {
                        "time": 90,
                        "injurytime": 2,
                        "value": "14"
                    },
                    {
                        "time": 90,
                        "injurytime": 3,
                        "value": "14"
                    },
                    {
                        "time": 90,
                        "injurytime": 4,
                        "value": "26"
                    },
                    {
                        "time": 90,
                        "injurytime": 5,
                        "value": "14"
                    }
                ],
                "event": [
                    {
                        "pid": "8769",
                        "pname": "Mourtada Fall",
                        "type": "goal",
                        "time": "9",
                        "injurytime": "0",
                        "name": "Goal",
                        "team": "away",
                        "assists": {
                            "pid": "68326",
                            "pname": "Awad Al Nashri"
                        },
                        "goaltypeid": "3",
                        "goaltype": "header"
                    },
                    {
                        "pid": "8698",
                        "pname": "Th  Bipin Singh",
                        "type": "goal",
                        "time": "15",
                        "injurytime": "0",
                        "name": "Goal",
                        "team": "away",
                        "assists": {
                            "pid": "8767",
                            "pname": "Mandar Rao Desai"
                        },
                        "goaltypeid": "",
                        "goaltype": ""
                    },
                    {
                        "pid": "8770",
                        "pname": "Ahmed Jahouh",
                        "type": "card",
                        "time": "39",
                        "injurytime": "0",
                        "name": "Yellow card",
                        "team": "away",
                        "card": "yellow"
                    },
                    {
                        "type": "substitution",
                        "time": "46",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "home",
                        "player_in": "8649",
                        "player_in_name": "Udanta Singh",
                        "player_out": "26405",
                        "player_out_name": "Deshorn Brown"
                    },
                    {
                        "type": "substitution",
                        "time": "46",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "home",
                        "player_in": "64022",
                        "player_in_name": "Ajith Kumar",
                        "player_out": "8918",
                        "player_out_name": "Pratik Chowdhary"
                    },
                    {
                        "pid": "8774",
                        "pname": "Amey Ganesh Ranawade",
                        "type": "card",
                        "time": "58",
                        "injurytime": "0",
                        "name": "Yellow card",
                        "team": "away",
                        "card": "yellow"
                    },
                    {
                        "type": "substitution",
                        "time": "58",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "home",
                        "player_in": "64020",
                        "player_in_name": "Fran Gonzalez",
                        "player_out": "8653",
                        "player_out_name": "Rahul Bheke"
                    },
                    {
                        "pid": "8640",
                        "pname": "Sunil Chhetri",
                        "type": "card",
                        "time": "60",
                        "injurytime": "0",
                        "name": "Yellow card",
                        "team": "home",
                        "card": "yellow"
                    },
                    {
                        "type": "substitution",
                        "time": "66",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "away",
                        "player_in": "28191",
                        "player_in_name": "Bartholomew Ogbeche",
                        "player_out": "5980",
                        "player_out_name": "Adam Le Fondre"
                    },
                    {
                        "type": "substitution",
                        "time": "66",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "away",
                        "player_in": "28203",
                        "player_in_name": "Vignesh Dakshinamurthy",
                        "player_out": "28202",
                        "player_out_name": "Raynier Fernandes"
                    },
                    {
                        "type": "substitution",
                        "time": "75",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "away",
                        "player_in": "19180",
                        "player_in_name": "Cy Goddard",
                        "player_out": "8765",
                        "player_out_name": "Hugo Boumous"
                    },
                    {
                        "type": "substitution",
                        "time": "76",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "away",
                        "player_in": "65365",
                        "player_in_name": "Vikram Pratap Singh",
                        "player_out": "8767",
                        "player_out_name": "Mandar Rao Desai"
                    },
                    {
                        "pid": "8640",
                        "pname": "Sunil Chhetri",
                        "type": "goal",
                        "time": "79",
                        "injurytime": "0",
                        "name": "Goal",
                        "team": "home",
                        "assists": {
                            "pid": "68326",
                            "pname": "Awad Al Nashri"
                        },
                        "goaltypeid": "1",
                        "goaltype": "penalty"
                    },
                    {
                        "pid": "8642",
                        "pname": "Harmanjot Khabra",
                        "type": "card",
                        "time": "81",
                        "injurytime": "0",
                        "name": "Yellow card",
                        "team": "home",
                        "card": "yellow"
                    },
                    {
                        "type": "substitution",
                        "time": "82",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "home",
                        "player_in": "8644",
                        "player_in_name": "Thongkhosiem Haokip",
                        "player_out": "8642",
                        "player_out_name": "Harmanjot Khabra"
                    },
                    {
                        "pid": "28191",
                        "pname": "Bartholomew Ogbeche",
                        "type": "goal",
                        "time": "84",
                        "injurytime": "0",
                        "name": "Goal",
                        "team": "away",
                        "assists": {
                            "pid": "19180",
                            "pname": "Cy Goddard"
                        },
                        "goaltypeid": "3",
                        "goaltype": "header"
                    },
                    {
                        "pid": "8770",
                        "pname": "Ahmed Jahouh",
                        "type": "card",
                        "time": "86",
                        "injurytime": "0",
                        "name": "Yellowred card",
                        "team": "away",
                        "card": "yellowred"
                    },
                    {
                        "pid": "28191",
                        "pname": "Bartholomew Ogbeche",
                        "type": "card",
                        "time": "87",
                        "injurytime": "0",
                        "name": "Yellow card",
                        "team": "away",
                        "card": "yellow"
                    },
                    {
                        "type": "substitution",
                        "time": "88",
                        "injurytime": "0",
                        "name": "Substitution",
                        "team": "away",
                        "player_in": "64064",
                        "player_in_name": "Mehtab Singh",
                        "player_out": "8698",
                        "player_out_name": "Th  Bipin Singh"
                    }
                ],
                "commentary": [
                    {
                        "id": 1,
                        "injurytime": "",
                        "time": "",
                        "sentence": "Refree blows the whistle to start the match."
                    },
                    {
                        "id": 2,
                        "injurytime": "",
                        "time": "",
                        "sentence": "1st half is underway."
                    },
                    {
                        "id": 3,
                        "injurytime": "",
                        "time": "2",
                        "sentence": "Bengaluru player Deshorn Brown strikes the shot off target, ball is cleared by the Mumbai City."
                    },
                    {
                        "id": 4,
                        "injurytime": "",
                        "time": "2",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 5,
                        "injurytime": "",
                        "time": "4",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 6,
                        "injurytime": "",
                        "time": "9",
                        "sentence": " has awarded corner kick to Mumbai City."
                    },
                    {
                        "id": 7,
                        "event": "goal",
                        "injurytime": "",
                        "time": "9",
                        "sentence": "Mourtada Fall scores the goal for Mumbai City score 0-1."
                    },
                    {
                        "id": 8,
                        "injurytime": "",
                        "time": "11",
                        "sentence": " has awarded corner kick to Mumbai City."
                    },
                    {
                        "id": 9,
                        "injurytime": "",
                        "time": "12",
                        "sentence": "Goal kick for Bengaluru."
                    },
                    {
                        "id": 10,
                        "injurytime": "",
                        "time": "13",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 11,
                        "event": "goal",
                        "injurytime": "",
                        "time": "15",
                        "sentence": "Bipin Singh scores the goal for Mumbai City assist by Mandar Rao Dessai score 0-2."
                    },
                    {
                        "id": 12,
                        "injurytime": "",
                        "time": "17",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 13,
                        "injurytime": "",
                        "time": "18",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 14,
                        "injurytime": "",
                        "time": "19",
                        "sentence": "Goal kick for Bengaluru."
                    },
                    {
                        "id": 15,
                        "injurytime": "",
                        "time": "21",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 16,
                        "injurytime": "",
                        "time": "30",
                        "sentence": " awards freekick to Mumbai City."
                    },
                    {
                        "id": 17,
                        "injurytime": "",
                        "time": "33",
                        "sentence": "Hugo Boumous runs offside."
                    },
                    {
                        "id": 18,
                        "injurytime": "",
                        "time": "33",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 19,
                        "injurytime": "",
                        "time": "34",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 20,
                        "injurytime": "",
                        "time": "37",
                        "sentence": "Mumbai City player Adam Le Fondre hits a shot, successfully blocked by Bengaluru."
                    },
                    {
                        "id": 21,
                        "injurytime": "",
                        "time": "38",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 22,
                        "injurytime": "",
                        "time": "39",
                        "sentence": "Bengaluru player Kristian Opseth strikes the shot off target, ball is cleared by the Mumbai City."
                    },
                    {
                        "id": 23,
                        "injurytime": "",
                        "time": "39",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 24,
                        "injurytime": "",
                        "time": "39",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 25,
                        "event": "card",
                        "injurytime": "",
                        "time": "39",
                        "sentence": "Ahmed Jahouh booked for a Yellow card."
                    },
                    {
                        "id": 26,
                        "injurytime": "",
                        "time": "41",
                        "sentence": "Bengaluru player Cleiton Silva strike shot on target,  successfully cleared by the Mumbai City."
                    },
                    {
                        "id": 27,
                        "injurytime": "",
                        "time": "42",
                        "sentence": " has awarded corner kick to Bengaluru."
                    },
                    {
                        "id": 28,
                        "injurytime": "",
                        "time": "42",
                        "sentence": " awards freekick to Mumbai City."
                    },
                    {
                        "id": 29,
                        "injurytime": "",
                        "time": "44",
                        "sentence": "Hugo Boumous runs offside."
                    },
                    {
                        "id": 30,
                        "injurytime": "",
                        "time": "44",
                        "sentence": " awards freekick to Mumbai City."
                    },
                    {
                        "id": 31,
                        "injurytime": "1",
                        "time": "45",
                        "sentence": "Bengaluru player Sunil Chhetri strike the header on target, successfully cleared by the Mumbai City."
                    },
                    {
                        "id": 32,
                        "injurytime": "2",
                        "time": "45",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 33,
                        "injurytime": "3",
                        "time": "45",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 34,
                        "injurytime": "",
                        "time": "",
                        "sentence": "Halftime is underway."
                    },
                    {
                        "id": 35,
                        "injurytime": "",
                        "time": "",
                        "sentence": "1st half ended scores 0-2."
                    },
                    {
                        "id": 36,
                        "injurytime": "",
                        "time": "",
                        "sentence": "2nd half is underway."
                    },
                    {
                        "id": 37,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "46",
                        "sentence": "Substitution by Bengaluru player Pratik Chaudhari make way for Ajith Kumar."
                    },
                    {
                        "id": 38,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "46",
                        "sentence": "Substitution by Bengaluru player Deshorn Brown make way for Udanta Singh."
                    },
                    {
                        "id": 39,
                        "injurytime": "",
                        "time": "47",
                        "sentence": " has awarded corner kick to Mumbai City."
                    },
                    {
                        "id": 40,
                        "injurytime": "",
                        "time": "50",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 41,
                        "injurytime": "",
                        "time": "53",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 42,
                        "injurytime": "",
                        "time": "54",
                        "sentence": "Bengaluru player Kristian Opseth strikes the shot off target, ball is cleared by the Mumbai City."
                    },
                    {
                        "id": 43,
                        "injurytime": "",
                        "time": "54",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 44,
                        "injurytime": "",
                        "time": "54",
                        "sentence": " awards freekick to Mumbai City."
                    },
                    {
                        "id": 45,
                        "injurytime": "",
                        "time": "56",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 46,
                        "injurytime": "",
                        "time": "57",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 47,
                        "injurytime": "",
                        "time": "58",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 48,
                        "event": "card",
                        "injurytime": "",
                        "time": "58",
                        "sentence": "Amey Ranawade booked for a Yellow card."
                    },
                    {
                        "id": 49,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "58",
                        "sentence": "Substitution by Bengaluru player Rahul Bheke make way for Fran Gonzalez."
                    },
                    {
                        "id": 50,
                        "injurytime": "",
                        "time": "59",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 51,
                        "injurytime": "",
                        "time": "60",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 52,
                        "injurytime": "",
                        "time": "60",
                        "sentence": " awards freekick to Mumbai City."
                    },
                    {
                        "id": 53,
                        "event": "card",
                        "injurytime": "",
                        "time": "60",
                        "sentence": "Sunil Chhetri booked for a Yellow card."
                    },
                    {
                        "id": 54,
                        "injurytime": "",
                        "time": "62",
                        "sentence": "Goal kick for Bengaluru."
                    },
                    {
                        "id": 55,
                        "injurytime": "",
                        "time": "64",
                        "sentence": " has awarded corner kick to Bengaluru."
                    },
                    {
                        "id": 56,
                        "injurytime": "",
                        "time": "64",
                        "sentence": " awards freekick to Mumbai City."
                    },
                    {
                        "id": 57,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "66",
                        "sentence": "Substitution by Mumbai City player Adam Le Fondre make way for Bartholomew Ogbeche."
                    },
                    {
                        "id": 58,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "66",
                        "sentence": "Substitution by Mumbai City player Raynier Fernandes make way for Vignesh Dakshinamurthy."
                    },
                    {
                        "id": 59,
                        "injurytime": "",
                        "time": "70",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 60,
                        "injurytime": "",
                        "time": "70",
                        "sentence": "Mumbai City player Rowllin Borges strike shot on target,  successfully cleared by the Bengaluru."
                    },
                    {
                        "id": 61,
                        "injurytime": "",
                        "time": "71",
                        "sentence": "Bengaluru player Fran Gonzalez strikes the shot off target, ball is cleared by the Mumbai City."
                    },
                    {
                        "id": 62,
                        "injurytime": "",
                        "time": "72",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 63,
                        "injurytime": "",
                        "time": "73",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 64,
                        "injurytime": "",
                        "time": "75",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 65,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "75",
                        "sentence": "Substitution by Mumbai City player Hugo Boumous make way for Cy Goddard."
                    },
                    {
                        "id": 66,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "76",
                        "sentence": "Substitution by Mumbai City player Mandar Rao Dessai make way for Vikram Pratap Singh."
                    },
                    {
                        "id": 67,
                        "injurytime": "",
                        "time": "78",
                        "sentence": "Referee  points to the spot, penalty awarded to , foul committed by M Fall."
                    },
                    {
                        "id": 68,
                        "injurytime": "",
                        "time": "81",
                        "sentence": " awards freekick to Mumbai City."
                    },
                    {
                        "id": 69,
                        "event": "card",
                        "injurytime": "",
                        "time": "81",
                        "sentence": "Harmanjot Khabra booked for a Yellow card."
                    },
                    {
                        "id": 70,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "82",
                        "sentence": "Substitution by Bengaluru player Harmanjot Khabra make way for Semboi Haokip."
                    },
                    {
                        "id": 71,
                        "injurytime": "",
                        "time": "82",
                        "sentence": "Mumbai City player Bartholomew Ogbeche strikes the header off target, ball is cleared by the Bengaluru."
                    },
                    {
                        "id": 72,
                        "injurytime": "",
                        "time": "84",
                        "sentence": " has awarded corner kick to Mumbai City."
                    },
                    {
                        "id": 73,
                        "event": "goal",
                        "injurytime": "",
                        "time": "84",
                        "sentence": "Bartholomew Ogbeche scores the goal for Mumbai City assist by Cy Goddard score 1-3."
                    },
                    {
                        "id": 74,
                        "injurytime": "",
                        "time": "86",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 75,
                        "injurytime": "",
                        "time": "86",
                        "sentence": " awards freekick to Bengaluru."
                    },
                    {
                        "id": 76,
                        "event": "card",
                        "injurytime": "",
                        "time": "87",
                        "sentence": "Bartholomew Ogbeche booked for a Yellow card."
                    },
                    {
                        "id": 77,
                        "event": "substitution",
                        "injurytime": "",
                        "time": "88",
                        "sentence": "Substitution by Mumbai City player Bipin Singh make way for Mehtab Singh."
                    },
                    {
                        "id": 78,
                        "injurytime": "",
                        "time": "88",
                        "sentence": " has awarded corner kick to Bengaluru."
                    },
                    {
                        "id": 79,
                        "injurytime": "",
                        "time": "90",
                        "sentence": "Goal kick for Mumbai City."
                    },
                    {
                        "id": 80,
                        "injurytime": "3",
                        "time": "90",
                        "sentence": "Mumbai City player  strike shot on target,  successfully cleared by the Bengaluru."
                    },
                    {
                        "id": 81,
                        "injurytime": "4",
                        "time": "90",
                        "sentence": " awards freekick to Bengaluru."
                    }
                ],
                "lineup": {
                    "home": {
                        "lineup": {
                            "formation": "4-2-3-1",
                            "player": [
                                {
                                    "pid": "8641",
                                    "pname": "Gurpreet Singh Sandhu",
                                    "name": "Goalkeeper",
                                    "order": "1",
                                    "matchposition": "G",
                                    "position": "G",
                                    "shirtnumber": "1"
                                },
                                {
                                    "pid": "8642",
                                    "pname": "Harmanjot Khabra",
                                    "name": "Midfielder",
                                    "order": "2",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "10"
                                },
                                {
                                    "pid": "8918",
                                    "pname": "Pratik Chowdhary",
                                    "name": "Defender",
                                    "order": "3",
                                    "matchposition": "D",
                                    "position": "D",
                                    "shirtnumber": "4"
                                },
                                {
                                    "pid": "8637",
                                    "pname": "Juanan",
                                    "name": "Defender",
                                    "order": "4",
                                    "matchposition": "D",
                                    "position": "D",
                                    "shirtnumber": "5"
                                },
                                {
                                    "pid": "8653",
                                    "pname": "Rahul Bheke",
                                    "name": "Defender",
                                    "order": "5",
                                    "matchposition": "D",
                                    "position": "D",
                                    "shirtnumber": "2"
                                },
                                {
                                    "pid": "47144",
                                    "pname": "Suresh Singh",
                                    "name": "Midfielder",
                                    "order": "6",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "27"
                                },
                                {
                                    "pid": "8636",
                                    "pname": "Dimas Delgado",
                                    "name": "Midfielder",
                                    "order": "7",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "14"
                                },
                                {
                                    "pid": "26405",
                                    "pname": "Deshorn Brown",
                                    "name": "Forward",
                                    "order": "8",
                                    "matchposition": "F",
                                    "position": "F",
                                    "shirtnumber": "26"
                                },
                                {
                                    "pid": "30692",
                                    "pname": "Cleiton Silva",
                                    "name": "Midfielder",
                                    "order": "9",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "23"
                                },
                                {
                                    "pid": "8640",
                                    "pname": "Sunil Chhetri",
                                    "name": "Forward",
                                    "order": "10",
                                    "matchposition": "F",
                                    "position": "F",
                                    "shirtnumber": "11"
                                },
                                {
                                    "pid": "20955",
                                    "pname": "Kristian Opseth",
                                    "name": "Forward",
                                    "order": "11",
                                    "matchposition": "F",
                                    "position": "F",
                                    "shirtnumber": "9"
                                }
                            ]
                        },
                        "substitutes": [
                            {
                                "pid": "8648",
                                "pname": "Lalthuammawia Ralte",
                                "name": "Goalkeeper",
                                "matchposition": "G",
                                "position": "G",
                                "shirtnumber": "28"
                            },
                            {
                                "pid": "8670",
                                "pname": "Leon Agustine Asokan",
                                "name": "Forward",
                                "matchposition": "F",
                                "position": "F",
                                "shirtnumber": "31"
                            },
                            {
                                "pid": "29799",
                                "pname": "Ajay Chhetri",
                                "name": "Midfielder",
                                "matchposition": "M",
                                "position": "M",
                                "shirtnumber": "13"
                            },
                            {
                                "pid": "64022",
                                "pname": "Ajith Kumar",
                                "name": "Defender",
                                "matchposition": "D",
                                "position": "D",
                                "shirtnumber": "19"
                            },
                            {
                                "pid": "64030",
                                "pname": "Emanuel Lalchhanchhuaha",
                                "name": "Midfielder",
                                "matchposition": "M",
                                "position": "M",
                                "shirtnumber": "33"
                            },
                            {
                                "pid": "64020",
                                "pname": "Fran Gonzalez",
                                "name": "Defender",
                                "matchposition": "D",
                                "position": "D",
                                "shirtnumber": "55"
                            },
                            {
                                "pid": "8644",
                                "pname": "Thongkhosiem Haokip",
                                "name": "Forward",
                                "matchposition": "F",
                                "position": "F",
                                "shirtnumber": "18"
                            },
                            {
                                "pid": "8649",
                                "pname": "Udanta Singh",
                                "name": "Forward",
                                "matchposition": "F",
                                "position": "F",
                                "shirtnumber": "21"
                            },
                            {
                                "pid": "64021",
                                "pname": "Namgyal Bhutia",
                                "name": "Defender",
                                "matchposition": "D",
                                "position": "D",
                                "shirtnumber": "25"
                            }
                        ],
                        "substitutions": [
                            {
                                "playerin": "64022",
                                "playerout": "8918",
                                "time": "46"
                            },
                            {
                                "playerin": "8649",
                                "playerout": "26405",
                                "time": "46"
                            },
                            {
                                "playerin": "64020",
                                "playerout": "8653",
                                "time": "58"
                            },
                            {
                                "playerin": "8644",
                                "playerout": "8642",
                                "time": "82"
                            }
                        ],
                        "manager": [
                            {
                                "pid": "47247",
                                "name": "Carles Cuadrat",
                                "birthdatetimestamp": "-37152000",
                                "birthdate": "1968-10-28 00:00:00",
                                "nationality": {
                                    "iocid": "199",
                                    "name": "Spain",
                                    "ioc": ""
                                }
                            }
                        ]
                    },
                    "away": {
                        "lineup": {
                            "formation": "4-2-3-1",
                            "player": [
                                {
                                    "pid": "8855",
                                    "pname": "Amrinder Singh",
                                    "name": "Goalkeeper",
                                    "order": "1",
                                    "matchposition": "G",
                                    "position": "G",
                                    "shirtnumber": "1"
                                },
                                {
                                    "pid": "8774",
                                    "pname": "Amey Ganesh Ranawade",
                                    "name": "Defender",
                                    "order": "2",
                                    "matchposition": "D",
                                    "position": "D",
                                    "shirtnumber": "4"
                                },
                                {
                                    "pid": "8769",
                                    "pname": "Mourtada Fall",
                                    "name": "Defender",
                                    "order": "3",
                                    "matchposition": "D",
                                    "position": "D",
                                    "shirtnumber": "25"
                                },
                                {
                                    "pid": "25180",
                                    "pname": "Hernan",
                                    "name": "Midfielder",
                                    "order": "4",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "6"
                                },
                                {
                                    "pid": "8767",
                                    "pname": "Mandar Rao Desai",
                                    "name": "Midfielder",
                                    "order": "5",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "17"
                                },
                                {
                                    "pid": "8888",
                                    "pname": "Rowllin Borges",
                                    "name": "Midfielder",
                                    "order": "6",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "14"
                                },
                                {
                                    "pid": "8770",
                                    "pname": "Ahmed Jahouh",
                                    "name": "Midfielder",
                                    "order": "7",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "5"
                                },
                                {
                                    "pid": "28202",
                                    "pname": "Raynier Fernandes",
                                    "name": "Midfielder",
                                    "order": "8",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "11"
                                },
                                {
                                    "pid": "8765",
                                    "pname": "Hugo Boumous",
                                    "name": "Midfielder",
                                    "order": "9",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "7"
                                },
                                {
                                    "pid": "8698",
                                    "pname": "Th  Bipin Singh",
                                    "name": "Midfielder",
                                    "order": "10",
                                    "matchposition": "M",
                                    "position": "M",
                                    "shirtnumber": "29"
                                },
                                {
                                    "pid": "5980",
                                    "pname": "Adam Le Fondre",
                                    "name": "Forward",
                                    "order": "11",
                                    "matchposition": "F",
                                    "position": "F",
                                    "shirtnumber": "9"
                                }
                            ]
                        },
                        "substitutes": [
                            {
                                "pid": "65364",
                                "pname": "Phurba Tempa Lachenpa",
                                "name": "Goalkeeper",
                                "matchposition": "G",
                                "position": "G",
                                "shirtnumber": "34"
                            },
                            {
                                "pid": "8919",
                                "pname": "Farukh Choudhary",
                                "name": "Forward",
                                "matchposition": "F",
                                "position": "F",
                                "shirtnumber": "27"
                            },
                            {
                                "pid": "64064",
                                "pname": "Mehtab Singh",
                                "name": "Midfielder",
                                "matchposition": "M",
                                "position": "M",
                                "shirtnumber": "15"
                            },
                            {
                                "pid": "19180",
                                "pname": "Cy Goddard",
                                "name": "Midfielder",
                                "matchposition": "M",
                                "position": "M",
                                "shirtnumber": "21"
                            },
                            {
                                "pid": "28141",
                                "pname": "Mohammad Rakip",
                                "name": "Defender",
                                "matchposition": "D",
                                "position": "D",
                                "shirtnumber": "2"
                            },
                            {
                                "pid": "28203",
                                "pname": "Vignesh Dakshinamurthy",
                                "name": "Midfielder",
                                "matchposition": "M",
                                "position": "M",
                                "shirtnumber": "23"
                            },
                            {
                                "pid": "65365",
                                "pname": "Vikram Pratap Singh",
                                "name": "Forward",
                                "matchposition": "F",
                                "position": "F",
                                "shirtnumber": "22"
                            },
                            {
                                "pid": "28191",
                                "pname": "Bartholomew Ogbeche",
                                "name": "Forward",
                                "matchposition": "F",
                                "position": "F",
                                "shirtnumber": "10"
                            },
                            {
                                "pid": "28224",
                                "pname": "Sarthak Golui",
                                "name": "Defender",
                                "matchposition": "D",
                                "position": "D",
                                "shirtnumber": "16"
                            }
                        ],
                        "substitutions": [
                            {
                                "playerin": "28191",
                                "playerout": "5980",
                                "time": "66"
                            },
                            {
                                "playerin": "28203",
                                "playerout": "28202",
                                "time": "66"
                            },
                            {
                                "playerin": "19180",
                                "playerout": "8765",
                                "time": "75"
                            },
                            {
                                "playerin": "65365",
                                "playerout": "8767",
                                "time": "76"
                            },
                            {
                                "playerin": "64064",
                                "playerout": "8698",
                                "time": "88"
                            }
                        ],
                        "manager": [
                            {
                                "pid": "47265",
                                "name": "Sergio Lobera",
                                "birthdatetimestamp": "159062400",
                                "birthdate": "1975-01-16 00:00:00",
                                "nationality": {
                                    "iocid": "199",
                                    "name": "Spain",
                                    "ioc": ""
                                }
                            }
                        ]
                    }
                },
                "pre_match_odds": []
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "b7b640e19cc40f8a7b7902a4ebbee037",
        "modified": "2021-01-05 16:45:55",
        "datetime": "2021-01-05 16:45:55",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match projection, events, commentary, lineup details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    referee array An array of match referee details. see referee object reference
    match_projection array An array of match projection details. see match_projection object reference
    event array An array of match event details. see event object reference
    commentary array An array of match commentary details. see commentary object reference
    lineup array An array of match lineup details. see lineup object reference
    pre_match_odds array An array odds details.

    Match Info Object Reference

    Parameter Value Description
    mid string match id
    round string round details.
    result array An array of match result details. see result object reference
    teams array An array of match teams details. see teams object reference
    period array An array of match period wise details. see period object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    injurytime string added injury time after the end of regular period time
    time string match running time in minutes
    status_str string Match status string live, completed, upcoming
    status string Match status code 3 = live, 2 = completed, 1 = upcoming
    gamestate_str string Match state string
    gamestate string Match state code
    periodlength string match period length in minutes
    numberofperiods string number of periods in the match
    attendance string total spectator attendance of the match
    overtimelength string overtime length in minutes
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference
    lineupavailable string line up available when true, not available when false
    projectionavailable string match game play state available when true, not available when false
    eventavailable string events available when true, not available when false
    commentaryavailable string play by play available when true, not available when false

    Round Object Reference

    Parameter Value Description
    type string round type. There are 2 type of rounds table and cup.
    name string round
    type string round name

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    logo string team logo url
    fullname string team full name
    abbr string shortname team name

    Period Object Reference

    Parameter Value Description
    p1 array An array of team score details in period 1. see p1 object reference
    p2 array An array of team score details in period 2. see p2 object reference
    ft array An array of team score details after full time. see ft object reference

    P1/P2/FT Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    tournament_id string tournament id of competition native country
    category_id string category id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Object Reference

    Parameter Value Description
    venueid string venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity
    googlecoords string venue google co-ordinates

    Match Referee Object Reference

    Parameter Value Description
    pid string referee id
    fullname string referee full name
    birthdatetimestamp integer timestamp of birthdate of referee
    birthdate string birth date of referee in dd/mm/yy format
    nationality array array of referee nationality details. see nationality object reference

    Nationality Object Reference

    Parameter Value Description
    iocid string ioc country id
    name string country name
    ioc string ioc 2 letter country code

    Match Projection Object Reference

    Parameter Value Description
    time integer time in minutes of match play
    injurytime integer injurytime in minutes
    value string positive value indicates home team has ball possession, negative value indicates away team has ball possession.

    Match Event Object Reference

    Parameter Value Description
    pid string player id
    pname string player name
    type string event type name
    time string time of event during game play in minute
    injurytime string injurytime in minutes
    name string event name
    team string team name
    assist array array of player details which assisted the goal
    goaltypeid string goal type id
    goaltype string goal type name

    Match Commentary Object Reference

    Parameter Value Description
    id integer text id
    injurytime string injurytime in minutes
    time string time of textt during game play in minute
    sentence string text of play by play details

    Match Lineup Object Reference

    Parameter Value Description
    home array array of home team lineup details. see home team lineup object reference
    away array array of away team lineup details. see away team lineup object reference

    Home/Away Lineup Object Reference

    Parameter Value Description
    lineup array array of lineup details. see lineup object reference
    substitutes array array of substitutes available details. see substitutes object reference
    substitutions array array of substitutions details. see substitutions object reference
    manager array array of manager details. see manager object reference

    Lineup Object Reference

    Parameter Value Description
    formation string team lineup formation details.
    player array array of starting players details. see lineup player object reference

    Lineup Player Object Reference

    Parameter Value Description
    pid string player id
    pname string player name
    name string player position name
    order string order of player in team formation
    matchposition string player match playing position
    position string player career playing position
    shirtnumber string player shirt number

    Substitutes Object Reference

    Parameter Value Description
    pid string player id
    pname string player name
    name string player position name
    matchposition string player match playing position
    position string player career playing position
    shirtnumber string player shirt number

    Substitutions Object Reference

    Parameter Value Description
    playerin string player id of player going in the team
    playerout string player id of player going out of the team
    time string time of substitution in minutes

    Manager Object Reference

    Parameter Value Description
    name string referee full name
    birthdate string birth date of manager in dd/mm/yy format
    nationality array array of manager nationality details. see nationality object reference

    Match Stats API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/matches/304/statsv2?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": [
                    {
                        "mid": "45627",
                        "round": "",
                        "result": {
                            "home": "1",
                            "away": "3",
                            "winner": "away"
                        },
                        "teams": {
                            "home": {
                                "tid": "451",
                                "tname": "Bengaluru",
                                "logo": "https://soccer.entitysport.com/assets/team/451.png",
                                "fullname": "Bengaluru FC",
                                "abbr": "BGL"
                            },
                            "away": {
                                "tid": "458",
                                "tname": "Mumbai City",
                                "logo": "https://soccer.entitysport.com/assets/team/458.png",
                                "fullname": "Mumbai City FC",
                                "abbr": "MUM"
                            }
                        },
                        "periods": {
                            "p1": {
                                "home": 0,
                                "away": 2
                            },
                            "p2": {
                                "home": 1,
                                "away": 1
                            },
                            "ft": {
                                "home": 1,
                                "away": 3
                            }
                        },
                        "datestart": "2021-01-05 14:00:00",
                        "dateend": "2021-01-05 15:53:07",
                        "timestampstart": "1609855200",
                        "timestampend": "1609861987",
                        "injurytime": "",
                        "time": "90",
                        "status_str": "result",
                        "status": "2",
                        "gamestate_str": "Ended",
                        "gamestate": "6",
                        "pre_squad": "true",
                        "verified": "false",
                        "periodlength": "",
                        "numberofperiods": "",
                        "attendance": "",
                        "overtimelength": "",
                        "competition": {
                            "cid": "165",
                            "cname": "Indian Super League",
                            "startdate": "2020-11-20 00:00:00",
                            "enddate": "2021-03-23 00:00:00",
                            "startdatetimestamp": "1605830400",
                            "endtdatetimestamp": "1616457600",
                            "year": "20/21",
                            "category": "India",
                            "tournament_id": "16",
                            "category_id": "14",
                            "ioc": "in",
                            "status": "3",
                            "status_str": "live",
                            "logo": ""
                        },
                        "venue": {
                            "venueid": "1350",
                            "name": "Jawaharlal Nehru Stadium",
                            "location": "Margao, India",
                            "founded": "",
                            "capacity": "20000",
                            "googlecoords": "15.289208, 73.962480"
                        },
                        "lineupavailable": "true",
                        "projectionavailable": "true",
                        "eventavailable": "true",
                        "commentaryavailable": "true"
                    }
                ],
                "statistics": [
                    {
                        "name": "Yellow cards",
                        "home": 2,
                        "away": 3
                    },
                    {
                        "name": "Yellow/red cards",
                        "home": 0,
                        "away": 1
                    },
                    {
                        "name": "Substitutions",
                        "home": 4,
                        "away": 5
                    },
                    {
                        "name": "Ball possession",
                        "home": 55,
                        "away": 45
                    },
                    {
                        "name": "Free kicks",
                        "home": 21,
                        "away": 7
                    },
                    {
                        "name": "Offsides",
                        "home": 0,
                        "away": 2
                    },
                    {
                        "name": "Corner kicks",
                        "home": 4,
                        "away": 4
                    },
                    {
                        "name": "Shots on target",
                        "home": 3,
                        "away": 5
                    },
                    {
                        "name": "Shots off target",
                        "home": 4,
                        "away": 1
                    },
                    {
                        "name": "Saves",
                        "home": 2,
                        "away": 2
                    },
                    {
                        "name": "Fouls",
                        "home": 7,
                        "away": 19
                    },
                    {
                        "name": "Penalties",
                        "home": 1,
                        "away": 0
                    },
                    {
                        "name": "Shots blocked",
                        "home": 0,
                        "away": 1
                    },
                    {
                        "name": "Goals",
                        "home": 1,
                        "away": 3
                    }
                ],
                "statistics_period1": [
                    {
                        "name": "Free kicks",
                        "home": 11,
                        "away": 3
                    },
                    {
                        "name": "Offsides",
                        "home": 0,
                        "away": 2
                    },
                    {
                        "name": "Corner kicks",
                        "home": 1,
                        "away": 2
                    },
                    {
                        "name": "Yellow cards",
                        "home": 0,
                        "away": 1
                    },
                    {
                        "name": "Yellow/red cards",
                        "home": 0,
                        "away": 0
                    },
                    {
                        "name": "Red cards",
                        "home": 0,
                        "away": 0
                    },
                    {
                        "name": "Substitutions",
                        "home": 0,
                        "away": 0
                    },
                    {
                        "name": "Ball possession",
                        "home": 34,
                        "away": 66
                    }
                ],
                "statistics_period2": [
                    {
                        "name": "Free kicks",
                        "home": 10,
                        "away": 4
                    },
                    {
                        "name": "Offsides",
                        "home": 0,
                        "away": 0
                    },
                    {
                        "name": "Corner kicks",
                        "home": 3,
                        "away": 2
                    },
                    {
                        "name": "Yellow cards",
                        "home": 2,
                        "away": 2
                    },
                    {
                        "name": "Yellow/red cards",
                        "home": 0,
                        "away": 1
                    },
                    {
                        "name": "Red cards",
                        "home": 0,
                        "away": 0
                    },
                    {
                        "name": "Substitutions",
                        "home": 4,
                        "away": 5
                    },
                    {
                        "name": "Ball possession",
                        "home": 55,
                        "away": 45
                    }
                ],
                "statistics_extratime": [],
                "player_statistics": {
                    "away": [
                        {
                            "pid": 5980,
                            "pname": "Adam Le Fondre",
                            "role": "Forward",
                            "teamtype": "away",
                            "minutesplayed": 66,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 2,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 78.26,
                            "accuratepass": 18,
                            "totalpass": 23,
                            "longballsacc": 0,
                            "totallongballs": 0,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 1,
                            "duelswon": 1,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 0,
                            "cleansheet": 1
                        },
                        {
                            "pid": 8698,
                            "pname": "Th Bipin Singh",
                            "role": "Midfielder",
                            "teamtype": "away",
                            "minutesplayed": 88,
                            "assist": 0,
                            "goals": 1,
                            "shotsontarget": 1,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 2,
                            "tacklesuccess": 2,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 85,
                            "accuratepass": 17,
                            "totalpass": 20,
                            "longballsacc": 0,
                            "totallongballs": 2,
                            "totalcross": 3,
                            "crossesacc": 2,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 3,
                            "duelswon": 3,
                            "wasfouled": 1,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 1,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8765,
                            "pname": "Hugo Boumous",
                            "role": "Midfielder",
                            "teamtype": "away",
                            "minutesplayed": 75,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 3,
                            "dribblesuccess": 2,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 92.5,
                            "accuratepass": 37,
                            "totalpass": 40,
                            "longballsacc": 1,
                            "totallongballs": 1,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 4,
                            "duelswon": 4,
                            "wasfouled": 1,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 0,
                            "cleansheet": 1
                        },
                        {
                            "pid": 8767,
                            "pname": "Mandar Rao Desai",
                            "role": "Defender",
                            "teamtype": "away",
                            "minutesplayed": 75,
                            "assist": 1,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 90.48,
                            "accuratepass": 38,
                            "totalpass": 42,
                            "longballsacc": 2,
                            "totallongballs": 4,
                            "totalcross": 3,
                            "crossesacc": 1,
                            "bigchancecreated": 1,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 2,
                            "duelswon": 2,
                            "wasfouled": 1,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 2,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 0,
                            "cleansheet": 1
                        },
                        {
                            "pid": 8769,
                            "pname": "Mourtada Fall",
                            "role": "Defender",
                            "teamtype": "away",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 1,
                            "shotsontarget": 1,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 9,
                            "outfielderblock": 2,
                            "interceptionwon": 1,
                            "tacklecommitted": 2,
                            "tacklesuccess": 2,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 1,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 92.73,
                            "accuratepass": 51,
                            "totalpass": 55,
                            "longballsacc": 7,
                            "totallongballs": 10,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 8,
                            "duelswon": 8,
                            "wasfouled": 0,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8770,
                            "pname": "Ahmed Jahouh",
                            "role": "Midfielder",
                            "teamtype": "away",
                            "minutesplayed": 86,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 3,
                            "dribblesuccess": 3,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 5,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 82.76,
                            "accuratepass": 48,
                            "totalpass": 58,
                            "longballsacc": 10,
                            "totallongballs": 18,
                            "totalcross": 1,
                            "crossesacc": 1,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 5,
                            "duelswon": 5,
                            "wasfouled": 0,
                            "fouls": 10,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 1,
                            "yellowcard": 1,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8774,
                            "pname": "Amey Ganesh Ranawade",
                            "role": "Defender",
                            "teamtype": "away",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 1,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 4,
                            "outfielderblock": 0,
                            "interceptionwon": 2,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 80,
                            "accuratepass": 12,
                            "totalpass": 15,
                            "longballsacc": 0,
                            "totallongballs": 1,
                            "totalcross": 1,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 3,
                            "duelswon": 3,
                            "wasfouled": 2,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 1,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8855,
                            "pname": "Amrinder Singh",
                            "role": "Goalkeeper",
                            "teamtype": "away",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 70,
                            "accuratepass": 14,
                            "totalpass": 20,
                            "longballsacc": 3,
                            "totallongballs": 9,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 1,
                            "duelswon": 1,
                            "wasfouled": 1,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 2,
                            "savesfrominsidebox": 1,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8888,
                            "pname": "Rowllin Borges",
                            "role": "Midfielder",
                            "teamtype": "away",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 1,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 1,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 4,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 2,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 86.44,
                            "accuratepass": 51,
                            "totalpass": 59,
                            "longballsacc": 1,
                            "totallongballs": 5,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 2,
                            "duelswon": 2,
                            "wasfouled": 0,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 19180,
                            "pname": "Cy Goddard",
                            "role": "Midfielder",
                            "teamtype": "away",
                            "minutesplayed": 20,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 1,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 60,
                            "accuratepass": 3,
                            "totalpass": 5,
                            "longballsacc": 1,
                            "totallongballs": 1,
                            "totalcross": 1,
                            "crossesacc": 1,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 0,
                            "duelswon": 0,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 2,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 25180,
                            "pname": "Hernan",
                            "role": "Midfielder",
                            "teamtype": "away",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 1,
                            "dribbleattempts": 2,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 2,
                            "outfielderblock": 0,
                            "interceptionwon": 2,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 90.28,
                            "accuratepass": 65,
                            "totalpass": 72,
                            "longballsacc": 3,
                            "totallongballs": 5,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 5,
                            "duelswon": 5,
                            "wasfouled": 0,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 28191,
                            "pname": "Bartholomew Ogbeche",
                            "role": "Forward",
                            "teamtype": "away",
                            "minutesplayed": 29,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 1,
                            "shotsofftarget": 1,
                            "shotsblocked": 0,
                            "dribbleattempts": 2,
                            "dribblesuccess": 2,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 1,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 85.71,
                            "accuratepass": 6,
                            "totalpass": 7,
                            "longballsacc": 0,
                            "totallongballs": 0,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 4,
                            "duelswon": 4,
                            "wasfouled": 0,
                            "fouls": 2,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 2,
                            "yellowcard": 1,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 28202,
                            "pname": "Raynier Fernandes",
                            "role": "Midfielder",
                            "teamtype": "away",
                            "minutesplayed": 66,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 3,
                            "dribblesuccess": 2,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 2,
                            "tacklesuccess": 2,
                            "challengelost": 2,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 80.77,
                            "accuratepass": 21,
                            "totalpass": 26,
                            "longballsacc": 1,
                            "totallongballs": 3,
                            "totalcross": 1,
                            "crossesacc": 1,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 5,
                            "duelswon": 5,
                            "wasfouled": 1,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 0,
                            "cleansheet": 1
                        },
                        {
                            "pid": 28203,
                            "pname": "Vignesh Dakshinamurthy",
                            "role": "Defender",
                            "teamtype": "away",
                            "minutesplayed": 29,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 1,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 80,
                            "accuratepass": 4,
                            "totalpass": 5,
                            "longballsacc": 0,
                            "totallongballs": 0,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 0,
                            "duelswon": 0,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 64064,
                            "pname": "Mehtab Singh",
                            "role": "Defender",
                            "teamtype": "away",
                            "minutesplayed": 7,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 2,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 0,
                            "accuratepass": 0,
                            "totalpass": 0,
                            "longballsacc": 0,
                            "totallongballs": 0,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 0,
                            "duelswon": 0,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 0,
                            "cleansheet": 0
                        },
                        {
                            "pid": 65365,
                            "pname": "Vikram Pratap Singh",
                            "role": "Forward",
                            "teamtype": "away",
                            "minutesplayed": 20,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 1,
                            "shotsofftarget": 0,
                            "shotsblocked": 1,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 1,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 0,
                            "accuratepass": 0,
                            "totalpass": 0,
                            "longballsacc": 0,
                            "totallongballs": 0,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 1,
                            "duelswon": 1,
                            "wasfouled": 1,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        }
                    ],
                    "home": [
                        {
                            "pid": 8636,
                            "pname": "Dimas Delgado",
                            "role": "Midfielder",
                            "teamtype": "home",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 2,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 2,
                            "outfielderblock": 0,
                            "interceptionwon": 2,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 2,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 79.69,
                            "accuratepass": 51,
                            "totalpass": 64,
                            "longballsacc": 9,
                            "totallongballs": 14,
                            "totalcross": 4,
                            "crossesacc": 2,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 6,
                            "duelswon": 6,
                            "wasfouled": 5,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 3,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8637,
                            "pname": "Juanan",
                            "role": "Defender",
                            "teamtype": "home",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 3,
                            "outfielderblock": 1,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 77.27,
                            "accuratepass": 34,
                            "totalpass": 44,
                            "longballsacc": 10,
                            "totallongballs": 12,
                            "totalcross": 1,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 2,
                            "duelswon": 2,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 3,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8640,
                            "pname": "Sunil Chhetri",
                            "role": "Forward",
                            "teamtype": "home",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 1,
                            "shotsontarget": 2,
                            "shotsofftarget": 0,
                            "shotsblocked": 1,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 74.07,
                            "accuratepass": 20,
                            "totalpass": 27,
                            "longballsacc": 1,
                            "totallongballs": 1,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 7,
                            "duelswon": 7,
                            "wasfouled": 2,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 1,
                            "yellowcard": 1,
                            "redcard": 0,
                            "goalconceded": 3,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8641,
                            "pname": "Gurpreet Singh Sandhu",
                            "role": "Goalkeeper",
                            "teamtype": "home",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 1,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 1,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 69.57,
                            "accuratepass": 16,
                            "totalpass": 23,
                            "longballsacc": 4,
                            "totallongballs": 11,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 1,
                            "dispossessed": 0,
                            "duelstotal": 0,
                            "duelswon": 0,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 1,
                            "totalrunsout": 1,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 2,
                            "savesfrominsidebox": 3,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 3,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8642,
                            "pname": "Harmanjot Khabra",
                            "role": "Defender",
                            "teamtype": "home",
                            "minutesplayed": 82,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 1,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 1,
                            "interceptionwon": 1,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 85,
                            "accuratepass": 17,
                            "totalpass": 20,
                            "longballsacc": 2,
                            "totallongballs": 3,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 2,
                            "duelswon": 2,
                            "wasfouled": 0,
                            "fouls": 3,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 1,
                            "redcard": 0,
                            "goalconceded": 2,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8644,
                            "pname": "Thongkhosiem Haokip",
                            "role": "Forward",
                            "teamtype": "home",
                            "minutesplayed": 13,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 0,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 0,
                            "accuratepass": 0,
                            "totalpass": 0,
                            "longballsacc": 0,
                            "totallongballs": 0,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 1,
                            "duelswon": 1,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8649,
                            "pname": "Udanta Singh",
                            "role": "Midfielder",
                            "teamtype": "home",
                            "minutesplayed": 50,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 1,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 1,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 2,
                            "tacklesuccess": 2,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 88.89,
                            "accuratepass": 8,
                            "totalpass": 9,
                            "longballsacc": 1,
                            "totallongballs": 1,
                            "totalcross": 1,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 5,
                            "duelswon": 5,
                            "wasfouled": 1,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8653,
                            "pname": "Rahul Bheke",
                            "role": "Defender",
                            "teamtype": "home",
                            "minutesplayed": 58,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 3,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 92,
                            "accuratepass": 23,
                            "totalpass": 25,
                            "longballsacc": 2,
                            "totallongballs": 4,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 2,
                            "duelswon": 2,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 2,
                            "cleansheet": 0
                        },
                        {
                            "pid": 8918,
                            "pname": "Pratik Chowdhary",
                            "role": "Defender",
                            "teamtype": "home",
                            "minutesplayed": 45,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 1,
                            "outfielderblock": 1,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 83.33,
                            "accuratepass": 15,
                            "totalpass": 18,
                            "longballsacc": 3,
                            "totallongballs": 6,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 0,
                            "duelswon": 0,
                            "wasfouled": 0,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 2,
                            "cleansheet": 0
                        },
                        {
                            "pid": 20955,
                            "pname": "Kristian Opseth",
                            "role": "Forward",
                            "teamtype": "home",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 2,
                            "shotsblocked": 1,
                            "dribbleattempts": 1,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 1,
                            "tacklesuccess": 1,
                            "challengelost": 3,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 81.25,
                            "accuratepass": 13,
                            "totalpass": 16,
                            "longballsacc": 1,
                            "totallongballs": 1,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 5,
                            "duelswon": 5,
                            "wasfouled": 1,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 3,
                            "cleansheet": 0
                        },
                        {
                            "pid": 26405,
                            "pname": "Deshorn Brown",
                            "role": "Forward",
                            "teamtype": "home",
                            "minutesplayed": 45,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 1,
                            "shotsblocked": 0,
                            "dribbleattempts": 1,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 1,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 50,
                            "accuratepass": 3,
                            "totalpass": 6,
                            "longballsacc": 0,
                            "totallongballs": 0,
                            "totalcross": 1,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 1,
                            "duelstotal": 2,
                            "duelswon": 2,
                            "wasfouled": 1,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 2,
                            "cleansheet": 0
                        },
                        {
                            "pid": 30692,
                            "pname": "Cleiton Silva",
                            "role": "Midfielder",
                            "teamtype": "home",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 1,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 2,
                            "dribblesuccess": 2,
                            "bigchancemissed": 0,
                            "penaltywon": 1,
                            "hitwoodwork": 1,
                            "penaltymiss": 0,
                            "totalclearance": 1,
                            "outfielderblock": 0,
                            "interceptionwon": 2,
                            "tacklecommitted": 3,
                            "tacklesuccess": 3,
                            "challengelost": 2,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 74.29,
                            "accuratepass": 26,
                            "totalpass": 35,
                            "longballsacc": 2,
                            "totallongballs": 3,
                            "totalcross": 1,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 11,
                            "duelswon": 11,
                            "wasfouled": 4,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 4,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 3,
                            "cleansheet": 0
                        },
                        {
                            "pid": 47144,
                            "pname": "Suresh Singh",
                            "role": "Midfielder",
                            "teamtype": "home",
                            "minutesplayed": 95,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 1,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 1,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 87.1,
                            "accuratepass": 27,
                            "totalpass": 31,
                            "longballsacc": 3,
                            "totallongballs": 4,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 3,
                            "duelstotal": 2,
                            "duelswon": 2,
                            "wasfouled": 2,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 1,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 3,
                            "cleansheet": 0
                        },
                        {
                            "pid": 64020,
                            "pname": "Fran Gonzalez",
                            "role": "Defender",
                            "teamtype": "home",
                            "minutesplayed": 37,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 1,
                            "shotsblocked": 0,
                            "dribbleattempts": 0,
                            "dribblesuccess": 0,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 1,
                            "interceptionwon": 0,
                            "tacklecommitted": 0,
                            "tacklesuccess": 0,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 93.75,
                            "accuratepass": 15,
                            "totalpass": 16,
                            "longballsacc": 3,
                            "totallongballs": 3,
                            "totalcross": 0,
                            "crossesacc": 0,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 0,
                            "duelstotal": 1,
                            "duelswon": 1,
                            "wasfouled": 1,
                            "fouls": 1,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        },
                        {
                            "pid": 64022,
                            "pname": "Ajith Kumar",
                            "role": "Defender",
                            "teamtype": "home",
                            "minutesplayed": 50,
                            "assist": 0,
                            "goals": 0,
                            "shotsontarget": 0,
                            "shotsofftarget": 0,
                            "shotsblocked": 0,
                            "dribbleattempts": 1,
                            "dribblesuccess": 1,
                            "bigchancemissed": 0,
                            "penaltywon": 0,
                            "hitwoodwork": 0,
                            "penaltymiss": 0,
                            "totalclearance": 0,
                            "outfielderblock": 0,
                            "interceptionwon": 1,
                            "tacklecommitted": 2,
                            "tacklesuccess": 2,
                            "challengelost": 0,
                            "owngoals": 0,
                            "penaltycommitted": 0,
                            "errorledtoshot": 0,
                            "lastmantackle": 0,
                            "clearanceoffline": 0,
                            "passingaccuracy": 80,
                            "accuratepass": 12,
                            "totalpass": 15,
                            "longballsacc": 1,
                            "totallongballs": 1,
                            "totalcross": 4,
                            "crossesacc": 1,
                            "bigchancecreated": 0,
                            "errorledtogoal": 0,
                            "dispossessed": 2,
                            "duelstotal": 4,
                            "duelswon": 4,
                            "wasfouled": 1,
                            "fouls": 0,
                            "runsoutsucess": 0,
                            "totalrunsout": 0,
                            "goodhighclaim": 0,
                            "punches": 0,
                            "saves": 0,
                            "savesfrominsidebox": 0,
                            "penaltysave": 0,
                            "keypass": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "goalconceded": 1,
                            "cleansheet": 0
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "bfb5f269c4ead7c2aecefc92c9c85176",
        "modified": "2021-01-05 16:52:48",
        "datetime": "2021-01-05 16:52:48",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match team and player stats details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    statistics array An array of match team statistic details. see statistics object reference
    player_statistics array An array of match player statistic details. see player statistic object reference

    Match Team Statistic Object Reference

    Parameter Value Description
    name integer name of statistic type
    home integer statistic value of home team
    away integer statistic value of away team

    Player Statistics Reference

    Parameter Value Description
    home array an array of home team player statistic value.see player stats object reference
    away array an array of away team player statistic value.see player stats object reference

    Player Stats Object Reference

    Parameter Value Description
    pid integer player id
    pname string player name
    teamtype string team type(home or away)
    minutesplayed integer details of total minutes played by the player.
    assist integer details of total assist made by the player.
    goals integer details of total goals scored by the player.
    shotsontarget integer details of shots on target by the player.
    shotsofftarget integer details of shots off target by the player.
    shotsblocked integer details of shots blocked.
    dribbleattempts integer details of dribble attempted by the player.
    dribblesuccess integer details of dribble success by the player.
    bigchancemissed integer details of big chance missed by the player.
    penaltywon integer details of penalty won by the player.
    hitwoodwork integer details of crossbar hit by the player.
    penaltymiss integer details of penalty missed by the player.
    totalclearance integer details of total clearance by the player.
    outfielderblock integer details of out field block by the player.
    interceptionwon integer details of interception won.
    totaltackle integer details of total tackle by the player.
    challengelost integer details of challenge lost by the player.
    owngoals integer details of own goals by the player.
    penaltycommitted integer details of penalty committed by the player.
    errorledtoshot integer details of defence error let to the shot by the player.
    lastmantackle integer details of last man tackle by the player.
    clearanceoffline integer details of call clearance by the player.
    passingaccuracy integer details of passing accuracy by the player.
    accuratepass integer details of accurate passes by the player.
    totalpass integer details of total passes.
    longballsacc integer details of long balls accuracy by the player.
    totalLongballs integer details of total Long balls by the player.
    totalcross integer details of total crosses by the player.
    crossesacc integer details of crosses accuracy by the player.
    bigchancecreated integer details of big chance created by the player.
    errorledtogoal integer details of error led to goal by the player.
    dispossessed integer details of player dispossessed.
    duelstotal integer details of total duels by the player.
    duelswon integer details of duels won by the player.
    wasfouled integer details of the player was fouled.
    fouls integer details of fouls by the player.
    runsoutsucess integer details of runs out success.
    totalrunsOut integer details of total runs outside the box.
    goodhighclaim integer details of good high ball saves.
    punches integer details of punches to the ball inside box from cross.
    saves integer details of saves the player.
    savesfrominsidebox integer details of saves from insidebox.
    yellowcard integer details of number of yellow card received by the player.
    redcard integer details of number of red card received by the player.

    Match Fantasy API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/matches/790/fantasy?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": "45627",
                    "round": "",
                    "result": {
                        "home": "1",
                        "away": "3",
                        "winner": "away"
                    },
                    "teams": {
                        "home": {
                            "tid": "451",
                            "tname": "Bengaluru",
                            "logo": "https://soccer.entitysport.com/assets/team/451.png",
                            "fullname": "Bengaluru FC",
                            "abbr": "BGL"
                        },
                        "away": {
                            "tid": "458",
                            "tname": "Mumbai City",
                            "logo": "https://soccer.entitysport.com/assets/team/458.png",
                            "fullname": "Mumbai City FC",
                            "abbr": "MUM"
                        }
                    },
                    "periods": {
                        "p1": {
                            "home": 0,
                            "away": 2
                        },
                        "p2": {
                            "home": 1,
                            "away": 1
                        },
                        "ft": {
                            "home": 1,
                            "away": 3
                        }
                    },
                    "datestart": "2021-01-05 14:00:00",
                    "dateend": "2021-01-05 15:53:07",
                    "timestampstart": "1609855200",
                    "timestampend": "1609861987",
                    "injurytime": "",
                    "time": "90",
                    "status_str": "result",
                    "status": "2",
                    "gamestate_str": "Ended",
                    "gamestate": "6",
                    "pre_squad": "true",
                    "verified": "false",
                    "periodlength": "",
                    "numberofperiods": "",
                    "attendance": "",
                    "overtimelength": "",
                    "competition": {
                        "cid": "165",
                        "cname": "Indian Super League",
                        "startdate": "2020-11-20 00:00:00",
                        "enddate": "2021-03-23 00:00:00",
                        "startdatetimestamp": "1605830400",
                        "endtdatetimestamp": "1616457600",
                        "year": "20/21",
                        "category": "India",
                        "tournament_id": "16",
                        "category_id": "14",
                        "ioc": "in",
                        "status": "3",
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": "1350",
                        "name": "Jawaharlal Nehru Stadium",
                        "location": "Margao, India",
                        "founded": "",
                        "capacity": "20000",
                        "googlecoords": "15.289208, 73.962480"
                    },
                    "lineupavailable": "true",
                    "projectionavailable": "true",
                    "eventavailable": "true",
                    "commentaryavailable": "true"
                },
                "teams": {
                    "home": [
                        {
                            "pid": "8633",
                            "name": "Erik Paartalu",
                            "nationality": {
                                "iocid": "13",
                                "name": "Australia",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8636",
                            "name": "Dimas Delgado",
                            "nationality": {
                                "iocid": "199",
                                "name": "Spain",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8637",
                            "name": "Juanan",
                            "nationality": {
                                "iocid": "199",
                                "name": "Spain",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8640",
                            "name": "Sunil Chhetri",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "10"
                        },
                        {
                            "pid": "8641",
                            "name": "Gurpreet Singh Sandhu",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8642",
                            "name": "Harmanjot Khabra",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8644",
                            "name": "Thongkhosiem Haokip",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8648",
                            "name": "Lalthuammawia Ralte",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "8649",
                            "name": "Udanta Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8653",
                            "name": "Rahul Bheke",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8670",
                            "name": "Leon Agustine Asokan",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8801",
                            "name": "Muhammed Ashique Kuruniyan",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8918",
                            "name": "Pratik Chowdhary",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "20955",
                            "name": "Kristian Opseth",
                            "nationality": {
                                "iocid": "160",
                                "name": "Norway",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "26405",
                            "name": "Deshorn Brown",
                            "nationality": {
                                "iocid": "106",
                                "name": "Jamaica",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "29799",
                            "name": "Ajay Chhetri",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "29800",
                            "name": "Edmund Lalrindika",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "30692",
                            "name": "Cleiton Silva",
                            "nationality": {
                                "iocid": "30",
                                "name": "Brazil",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "31049",
                            "name": "Parag Satish Shrivas",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "47144",
                            "name": "Suresh Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "47148",
                            "name": "Lara Sharma",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64020",
                            "name": "Fran Gonzalez",
                            "nationality": {
                                "iocid": "199",
                                "name": "Spain",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64021",
                            "name": "Namgyal Bhutia",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64022",
                            "name": "Ajith Kumar",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64023",
                            "name": "Joe Zoherliana",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64024",
                            "name": "Wungngayam Muirang",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64025",
                            "name": "Naorem Roshan Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64026",
                            "name": "Thoi Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64027",
                            "name": "Dipesh Chauhan",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64028",
                            "name": "Biswa Darjee",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64029",
                            "name": "Amay Morajkar",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64030",
                            "name": "Emanuel Lalchhanchhuaha",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8"
                        }
                    ],
                    "away": [
                        {
                            "pid": "5980",
                            "name": "Adam Le Fondre",
                            "nationality": {
                                "iocid": "240",
                                "name": "England",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "8657",
                            "name": "Ningthoujam Bidyananda Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "8698",
                            "name": "Th Bipin Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8765",
                            "name": "Hugo Boumous",
                            "nationality": {
                                "iocid": "73",
                                "name": "France",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "10.5"
                        },
                        {
                            "pid": "8767",
                            "name": "Mandar Rao Desai",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8769",
                            "name": "Mourtada Fall",
                            "nationality": {
                                "iocid": "188",
                                "name": "Senegal",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8770",
                            "name": "Ahmed Jahouh",
                            "nationality": {
                                "iocid": "144",
                                "name": "Morocco",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8774",
                            "name": "Amey Ganesh Ranawade",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "8855",
                            "name": "Amrinder Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8868",
                            "name": "Pranjal Bhumij",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "8888",
                            "name": "Rowllin Borges",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8919",
                            "name": "Farukh Choudhary",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "19180",
                            "name": "Cy Goddard",
                            "nationality": {
                                "iocid": "105",
                                "name": "Italy",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "25180",
                            "name": "Hernan",
                            "nationality": {
                                "iocid": "199",
                                "name": "Spain",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "28141",
                            "name": "Mohammad Rakip",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "28174",
                            "name": "Tondonba Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "28191",
                            "name": "Bartholomew Ogbeche",
                            "nationality": {
                                "iocid": "156",
                                "name": "Nigeria",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "10"
                        },
                        {
                            "pid": "28202",
                            "name": "Raynier Fernandes",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "28203",
                            "name": "Vignesh Dakshinamurthy",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "28224",
                            "name": "Sarthak Golui",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "47156",
                            "name": "Sourav Das",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "47158",
                            "name": "Valpuia",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "47540",
                            "name": "Mohammed Asif",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64064",
                            "name": "Mehtab Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64065",
                            "name": "P C Rohlupuia",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "65364",
                            "name": "Phurba Tempa Lachenpa",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "7.5"
                        },
                        {
                            "pid": "65365",
                            "name": "Vikram Pratap Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "65366",
                            "name": "Vikram Lahkbir Singh",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "7.5"
                        },
                        {
                            "pid": "65367",
                            "name": "Nishit Shetty",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "fantasy_player_rating": "7.5"
                        }
                    ]
                },
                "fantasy_points": {
                    "home": [
                        {
                            "pid": 8641,
                            "pname": "Gurpreet Singh Sandhu",
                            "role": "Goalkeeper",
                            "points": -0.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": -2,
                            "goalsconceded": -1,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8642,
                            "pname": "Harmanjot Khabra",
                            "role": "Defender",
                            "points": 0.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": -1,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": -1,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8918,
                            "pname": "Pratik Chowdhary",
                            "role": "Defender",
                            "points": 0.5,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": -1,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8637,
                            "pname": "Juanan",
                            "role": "Defender",
                            "points": 2.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 1.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": -1,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8653,
                            "pname": "Rahul Bheke",
                            "role": "Defender",
                            "points": 2,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 1,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": -1,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 47144,
                            "pname": "Suresh Singh",
                            "role": "Midfielder",
                            "points": 3,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 1,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8636,
                            "pname": "Dimas Delgado",
                            "role": "Midfielder",
                            "points": 4.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 2.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 26405,
                            "pname": "Deshorn Brown",
                            "role": "Forward",
                            "points": 1,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 30692,
                            "pname": "Cleiton Silva",
                            "role": "Midfielder",
                            "points": 4,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 1,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 1,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8640,
                            "pname": "Sunil Chhetri",
                            "role": "Forward",
                            "points": 11,
                            "minutesplayed": 2,
                            "goalscored": 8,
                            "assist": 0,
                            "passes": 1,
                            "shotsontarget": 1,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": -1,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 20955,
                            "pname": "Kristian Opseth",
                            "role": "Forward",
                            "points": 2.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 64022,
                            "pname": "Ajith Kumar",
                            "role": "Defender",
                            "points": 1.5,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8649,
                            "pname": "Udanta Singh",
                            "role": "Midfielder",
                            "points": 1,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 64020,
                            "pname": "Fran Gonzalez",
                            "role": "Defender",
                            "points": 1.5,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8644,
                            "pname": "Thongkhosiem Haokip",
                            "role": "Forward",
                            "points": 1,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        }
                    ],
                    "away": [
                        {
                            "pid": 8855,
                            "pname": "Amrinder Singh",
                            "role": "Goalkeeper",
                            "points": 2.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8774,
                            "pname": "Amey Ganesh Ranawade",
                            "role": "Defender",
                            "points": 1.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": -1,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8769,
                            "pname": "Mourtada Fall",
                            "role": "Defender",
                            "points": 14.5,
                            "minutesplayed": 2,
                            "goalscored": 10,
                            "assist": 0,
                            "passes": 2.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 25180,
                            "pname": "Hernan",
                            "role": "Midfielder",
                            "points": 5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 3,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8767,
                            "pname": "Mandar Rao Desai",
                            "role": "Defender",
                            "points": 13.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 5,
                            "passes": 1.5,
                            "shotsontarget": 0,
                            "cleansheet": 5,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8888,
                            "pname": "Rowllin Borges",
                            "role": "Midfielder",
                            "points": 4.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 2.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8770,
                            "pname": "Ahmed Jahouh",
                            "role": "Midfielder",
                            "points": 3,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 2,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": -1,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 28202,
                            "pname": "Raynier Fernandes",
                            "role": "Midfielder",
                            "points": 4,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 1,
                            "shotsontarget": 0,
                            "cleansheet": 1,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8765,
                            "pname": "Hugo Boumous",
                            "role": "Midfielder",
                            "points": 4.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 1.5,
                            "shotsontarget": 0,
                            "cleansheet": 1,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 8698,
                            "pname": "Th  Bipin Singh",
                            "role": "Midfielder",
                            "points": 11.5,
                            "minutesplayed": 2,
                            "goalscored": 9,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 5980,
                            "pname": "Adam Le Fondre",
                            "role": "Forward",
                            "points": 2.5,
                            "minutesplayed": 2,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0.5,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 28191,
                            "pname": "Bartholomew Ogbeche",
                            "role": "Forward",
                            "points": 0,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": -1,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 28203,
                            "pname": "Vignesh Dakshinamurthy",
                            "role": "Defender",
                            "points": 1,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 19180,
                            "pname": "Cy Goddard",
                            "role": "Midfielder",
                            "points": 1,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 65365,
                            "pname": "Vikram Pratap Singh",
                            "role": "Forward",
                            "points": 1,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        },
                        {
                            "pid": 64064,
                            "pname": "Mehtab Singh",
                            "role": "Defender",
                            "points": 1,
                            "minutesplayed": 1,
                            "goalscored": 0,
                            "assist": 0,
                            "passes": 0,
                            "shotsontarget": 0,
                            "cleansheet": 0,
                            "shotssaved": 0,
                            "penaltysaved": 0,
                            "tacklesuccessful": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "owngoal": 0,
                            "goalsconceded": 0,
                            "penaltymissed": 0
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "79c3e07a9f808bb497b09604afa96c70",
        "modified": "2021-01-05 16:55:09",
        "datetime": "2021-01-05 16:55:09",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match team and player stats details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    teams array An array of team players list. see teams object reference
    fantasy_points array An array of player fantasy points details. see player fantasy object reference

    Team Squad Object Reference

    Parameter Value Description
    home array an array of home team players list. see player fantasy object reference
    away array an array of away team players list. see player fantasy object reference

    Home/Away Player Object Reference

    Parameter Value Description
    pid string player id
    name string player name
    nationality array player nationality details
    positiontype string player playing role
    positionname string player playing role name
    fantasy_player_rating integer player fantasy credit/salary

    Player Fantasy Points Object Reference

    Parameter Value Description
    home array an array of home team player fantasy points.see player stats object reference
    away array an array of away team pplayer fantasy points.see player stats object reference

    Player Fantasy Points Object Reference

    Parameter Value Description
    pid integer player id
    pname string player name
    role string team type(home or away)
    points float total fantasy points of a player
    minutesplayed integer fantasy points for minutes played
    goalscored integer fantasy points for number of goals scored by the player
    assist integer fantasy points for assist
    passes float fantasy points for successful passes
    shotsontarget integer fantasy points for shots on target
    cleansheet integer fantasy points for clean sheet
    shotssaved integer fantasy points for shots saved
    penaltysaved integer fantasy points for penalty saved
    tacklesuccessful integer fantasy points for successfull tackle
    yellowcard integer fantasy points for yellow card
    redcard integer fantasy points for redcard
    owngoal integer fantasy points for own goal
    goalsconceded integer fantasy points for goal conceded by the player
    penaltymissed integer fantasy points for penalty missed by the player

    Teams List API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/teams?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "89",
                    "name": "1. FSV Mainz 05",
                    "fullname": "1. FSV Mainz 05",
                    "abbr": "MAI",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "1905",
                    "website": "http://www.mainz05.de",
                    "twitter": "1FSVMainz05",
                    "hashtag": "#MAINZ05",
                    "teamlogo": "https://soccer.entitysport.com/assets/team/89.png",
                    "team_url": "team/89/info",
                    "team_matches_url": "team/89/matches"
                }
            ],
            "total_items": "140",
            "total_pages": 140
        },
        "etag": "a495e3645ca64df20b411ca8fde41629",
        "modified": "2018-09-02 15:35:51",
        "datetime": "2018-09-02 15:35:51",
        "api_version": "1.0"
    }
    
    

    This API lists all the teams available to access.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    tid string team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    team_url string team info url
    team_matches_url string team matches list url

    Team Info API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/team/70/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "451",
                    "tname": "Bengaluru",
                    "fullname": "Bengaluru FC",
                    "abbr": "BGL",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "2013",
                    "website": "",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://soccer.entitysport.com/assets/team/451.png",
                    "venue": {
                        "venueid": "433",
                        "name": "Sree Kanteerava Stadium",
                        "location": "Bangalore, India",
                        "founded": "1997",
                        "capacity": "24000",
                        "googlecoords": "12.969556,77.593469"
                    },
                    "player": [
                        {
                            "pid": "8633",
                            "fullname": "Erik Paartalu",
                            "birthdatetimestamp": "515462400",
                            "birthdate": "1986-05-03 00:00:00",
                            "nationality": {
                                "iocid": "13",
                                "name": "Australia",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "193",
                            "weight": "87",
                            "foot": "Both",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8636",
                            "fullname": "Dimas Delgado",
                            "birthdatetimestamp": "413337600",
                            "birthdate": "1983-02-06 00:00:00",
                            "nationality": {
                                "iocid": "199",
                                "name": "Spain",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "182",
                            "weight": "75",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8637",
                            "fullname": "Juanan",
                            "birthdatetimestamp": "546480000",
                            "birthdate": "1987-04-27 00:00:00",
                            "nationality": {
                                "iocid": "199",
                                "name": "Spain",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "192",
                            "weight": "92",
                            "foot": "Left",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8640",
                            "fullname": "Sunil Chhetri",
                            "birthdatetimestamp": "460339200",
                            "birthdate": "1984-08-03 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "170",
                            "weight": "71",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "10"
                        },
                        {
                            "pid": "8641",
                            "fullname": "Gurpreet Singh Sandhu",
                            "birthdatetimestamp": "697075200",
                            "birthdate": "1992-02-03 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "199",
                            "weight": "90",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8642",
                            "fullname": "Harmanjot Khabra",
                            "birthdatetimestamp": "574646400",
                            "birthdate": "1988-03-18 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "181",
                            "weight": "",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8644",
                            "fullname": "Thongkhosiem Haokip",
                            "birthdatetimestamp": "746323200",
                            "birthdate": "1993-08-26 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "183",
                            "weight": "70",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8648",
                            "fullname": "Lalthuammawia Ralte",
                            "birthdatetimestamp": "722908800",
                            "birthdate": "1992-11-28 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "177",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "8649",
                            "fullname": "Udanta Singh",
                            "birthdatetimestamp": "834710400",
                            "birthdate": "1996-06-14 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "174",
                            "weight": "65",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8653",
                            "fullname": "Rahul Bheke",
                            "birthdatetimestamp": "660441600",
                            "birthdate": "1990-12-06 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "179",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8670",
                            "fullname": "Leon Agustine Asokan",
                            "birthdatetimestamp": "",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "8801",
                            "fullname": "Muhammed Ashique Kuruniyan",
                            "birthdatetimestamp": "866246400",
                            "birthdate": "1997-06-14 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "179",
                            "weight": "70",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "8918",
                            "fullname": "Pratik Chowdhary",
                            "birthdatetimestamp": "623462400",
                            "birthdate": "1989-10-04 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "186",
                            "weight": "",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "20955",
                            "fullname": "Kristian Opseth",
                            "birthdatetimestamp": "631584000",
                            "birthdate": "1990-01-06 00:00:00",
                            "nationality": {
                                "iocid": "160",
                                "name": "Norway",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "189",
                            "weight": "90",
                            "foot": "Left",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "26405",
                            "fullname": "Deshorn Brown",
                            "birthdatetimestamp": "661824000",
                            "birthdate": "1990-12-22 00:00:00",
                            "nationality": {
                                "iocid": "106",
                                "name": "Jamaica",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "187",
                            "weight": "77",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9"
                        },
                        {
                            "pid": "29799",
                            "fullname": "Ajay Chhetri",
                            "birthdatetimestamp": "931305600",
                            "birthdate": "1999-07-07 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "29800",
                            "fullname": "Edmund Lalrindika",
                            "birthdatetimestamp": "924912000",
                            "birthdate": "1999-04-24 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "176",
                            "weight": "",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "30692",
                            "fullname": "Cleiton Silva",
                            "birthdatetimestamp": "539308800",
                            "birthdate": "1987-02-03 00:00:00",
                            "nationality": {
                                "iocid": "30",
                                "name": "Brazil",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "175",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "9.5"
                        },
                        {
                            "pid": "31049",
                            "fullname": "Parag Satish Shrivas",
                            "birthdatetimestamp": "865814400",
                            "birthdate": "1997-06-09 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "47144",
                            "fullname": "Suresh Singh",
                            "birthdatetimestamp": "965606400",
                            "birthdate": "2000-08-07 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "166",
                            "weight": "",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "47148",
                            "fullname": "Lara Sharma",
                            "birthdatetimestamp": "938736000",
                            "birthdate": "1999-10-01 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64020",
                            "fullname": "Fran Gonzalez",
                            "birthdatetimestamp": "602294400",
                            "birthdate": "1989-02-01 00:00:00",
                            "nationality": {
                                "iocid": "199",
                                "name": "Spain",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "182",
                            "weight": "75",
                            "foot": "Right",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64021",
                            "fullname": "Namgyal Bhutia",
                            "birthdatetimestamp": "934329600",
                            "birthdate": "1999-08-11 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64022",
                            "fullname": "Ajith Kumar",
                            "birthdatetimestamp": "847843200",
                            "birthdate": "1996-11-13 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64023",
                            "fullname": "Joe Zoherliana",
                            "birthdatetimestamp": "926294400",
                            "birthdate": "1999-05-10 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64024",
                            "fullname": "Wungngayam Muirang",
                            "birthdatetimestamp": "917913600",
                            "birthdate": "1999-02-02 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "183",
                            "weight": "",
                            "foot": "Left",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64025",
                            "fullname": "Naorem Roshan Singh",
                            "birthdatetimestamp": "917913600",
                            "birthdate": "1999-02-02 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64026",
                            "fullname": "Thoi Singh",
                            "birthdatetimestamp": "1083628800",
                            "birthdate": "2004-05-04 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64027",
                            "fullname": "Dipesh Chauhan",
                            "birthdatetimestamp": "1069286400",
                            "birthdate": "2003-11-20 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "G",
                            "positionname": "Goalkeeper",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8.5"
                        },
                        {
                            "pid": "64028",
                            "fullname": "Biswa Darjee",
                            "birthdatetimestamp": "942019200",
                            "birthdate": "1999-11-08 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "D",
                            "positionname": "Defender",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64029",
                            "fullname": "Amay Morajkar",
                            "birthdatetimestamp": "961459200",
                            "birthdate": "2000-06-20 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        },
                        {
                            "pid": "64030",
                            "fullname": "Emanuel Lalchhanchhuaha",
                            "birthdatetimestamp": "1012953600",
                            "birthdate": "2002-02-06 00:00:00",
                            "nationality": {
                                "iocid": "99",
                                "name": "India",
                                "ioc": ""
                            },
                            "positiontype": "M",
                            "positionname": "Midfielder",
                            "height": "",
                            "weight": "",
                            "foot": "",
                            "twitter": "",
                            "facebook": "",
                            "fantasy_player_rating": "8"
                        }
                    ]
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "ea8a3287f9bc36d07d34178361593501",
        "modified": "2021-01-05 16:58:06",
        "datetime": "2021-01-05 16:58:06",
        "api_version": "1.0"
    }
    

    This API contains team info and squad/roaster player details.

    Request

    Parameter Value Description
    tid string team id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    tid string team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    venue array An array of team venue details. see venue object reference
    player array An array of team player details. see payer object reference

    Venue Object Reference

    Parameter Value Description
    venueid string venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity
    googlecoords string venue google co-ordinates

    Player Object Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdatetimestamp integer Player Birthdate timestamp
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    height string player height in centimeters
    foot string player preferred foot
    twitter string twitter account url
    facebook string facebook account url

    Nationality Object Reference

    Parameter Value Description
    iocid string country ioc code
    name string country name
    ioc string 2 letter ioc code

    Team Matches API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/team/70/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://soccer.entitysport.com/team/70/matches?token=[ACCESS_TOKEN]&status=2"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://soccer.entitysport.com/team/70/matches?token=[ACCESS_TOKEN]&status=2&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": "45627",
                    "round": "",
                    "result": {
                        "home": "1",
                        "away": "3",
                        "winner": "away"
                    },
                    "teams": {
                        "home": {
                            "tid": "451",
                            "tname": "Bengaluru",
                            "logo": "https://soccer.entitysport.com/assets/team/451.png",
                            "fullname": "Bengaluru FC",
                            "abbr": "BGL"
                        },
                        "away": {
                            "tid": "458",
                            "tname": "Mumbai City",
                            "logo": "https://soccer.entitysport.com/assets/team/458.png",
                            "fullname": "Mumbai City FC",
                            "abbr": "MUM"
                        }
                    },
                    "periods": {
                        "p1": {
                            "home": 0,
                            "away": 2
                        },
                        "p2": {
                            "home": 1,
                            "away": 1
                        },
                        "ft": {
                            "home": 1,
                            "away": 3
                        }
                    },
                    "datestart": "2021-01-05 14:00:00",
                    "dateend": "2021-01-05 15:53:07",
                    "timestampstart": "1609855200",
                    "timestampend": "1609861987",
                    "injurytime": "",
                    "time": "90",
                    "status_str": "result",
                    "status": "2",
                    "gamestate_str": "Ended",
                    "gamestate": "6",
                    "pre_squad": "true",
                    "verified": "false",
                    "periodlength": "",
                    "numberofperiods": "",
                    "attendance": "",
                    "overtimelength": "",
                    "competition": {
                        "cid": "165",
                        "cname": "Indian Super League",
                        "startdate": "2020-11-20 00:00:00",
                        "enddate": "2021-03-23 00:00:00",
                        "startdatetimestamp": "1605830400",
                        "endtdatetimestamp": "1616457600",
                        "year": "20/21",
                        "category": "India",
                        "tournament_id": "16",
                        "category_id": "14",
                        "ioc": "in",
                        "status": "3",
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": "1350",
                        "name": "Jawaharlal Nehru Stadium",
                        "location": "Margao, India",
                        "founded": "",
                        "capacity": "20000",
                        "googlecoords": "15.289208, 73.962480"
                    },
                    "lineupavailable": "true",
                    "projectionavailable": "true",
                    "eventavailable": "true",
                    "commentaryavailable": "true"
                }
            ],
            "total_items": 50,
            "total_pages": 50
        },
        "etag": "db101e6d16759b9b0bdc064cad78167b",
        "modified": "2021-01-05 17:03:16",
        "datetime": "2021-01-05 17:03:16",
        "api_version": "1.0"
    }
    
    

    This API contains the list of team's all matches details.

    Request

    Parameter Value Description
    tid string competition id
    token {ACCESS_TOKEN} API Access token
    status integer 1 = upcoming, 2 = result, 3 = live, 4 = postponed, 5 = cancelled
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid string match id
    round string round details.
    result array An array of match result details. see result object reference
    teams array An array of match teams details. see teams object reference
    period array An array of match period wise details. see period object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    injurytime string added injury time after the end of regular period time
    time string match running time in minutes
    status_str string Match status string live, completed, upcoming
    status string Match status code 3 = live, 2 = completed, 1 = upcoming
    gamestate_str string Match state string
    gamestate string Match state code
    periodlength string match period length in minutes
    numberofperiods string number of periods in the match
    attendance string total spectator attendance of the match
    overtimelength string overtime length in minutes
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference
    lineupavailable string line up available when true, not available when false
    projectionavailable string match game play state available when true, not available when false
    eventavailable string events available when true, not available when false
    commentaryavailable string play by play available when true, not available when false

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    logo string team logo url

    Period Object Reference

    Parameter Value Description
    p1 array An array of team score details in period 1. see p1 object reference
    p2 array An array of team score details in period 2. see p2 object reference
    ft array An array of team score details after full time. see ft object reference

    P1/P2/FT Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    cid | string | competition id cname | string | competition name/title startdate | string | time string in GMT of competition start date enddate | string | time string in GMT of competition end date startdatetimestamp | string | timestamp of competition start date enddatetimestamp | string | timestamp of competition end date year | string | Season Year category | string | Competition Category tournament_id | string | tournament id of competition native country category_id | string | category id of competition native country ioc | string | IOC 2 letter code of competition native country status | string | Competition status code 3 = live, 2 = completed, 1 = upcoming status_str | string | Competition status string live, completed, upcoming logo | string | Competition Logo URL

    Competition Object Reference

    Parameter Value Description
    venueid string venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity
    googlecoords string venue google co-ordinates

    Player List API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/players?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": 1,
                    "fullname": "Kasper Schmeichel",
                    "birthdatetimestamp": 531532800,
                    "birthdate": "05/11/86",
                    "nationality": {
                        "iocid": 58,
                        "name": "Denmark",
                        "ioc": "dk"
                    },
                    "positiontype": "G",
                    "positionname": "Goalkeeper",
                    "height": 190,
                    "foot": "Right",
                    "twitter": "https://twitter.com/kschmeichel1",
                    "facebook": "https://www.facebook.com/kasperschmeichelofficial/",
                    "player_url": "player/1/profile"
                }
            ],
            "total_items": 3488,
            "total_pages": 3488
        },
        "etag": "e9b26310a8e5aa7871e8bc2b00193e8a",
        "modified": "2018-09-02 17:51:58",
        "datetime": "2018-09-02 17:51:58",
        "api_version": "1.0"
    }
    
    

    This API contains list of player details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdatetimestamp integer Player Birthdate timestamp
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    height integer player height in centimeters
    foot string player preferred foot
    twitter string twitter account url
    facebook string facebook account url
    player_url string player profile api url

    Nationality Object Reference

    Parameter Value Description
    iocid integer country ioc code
    name string country name
    ioc string 2 letter ioc code

    Player Profile API

    Using Token parameter:

    curl -X GET "https://soccer.entitysport.com/player/157/profile?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "player_info": {
                    "pid": 157,
                    "fullname": "Cristiano Ronaldo",
                    "birthdatetimestamp": 476409600,
                    "birthdate": "05/02/85",
                    "nationality": {
                        "iocid": 172,
                        "name": "Portugal",
                        "ioc": "pt"
                    },
                    "positiontype": "F",
                    "positionname": "Forward",
                    "height": 185,
                    "foot": "Both",
                    "twitter": "https://twitter.com/Cristiano",
                    "facebook": "https://www.facebook.com/Cristiano"
                },
                "team_played": [
                    {
                        "startdatetimestamp": 1060646400,
                        "startdate": "2003-08-12 00:00:00",
                        "enddatetimestamp": 1246320000,
                        "enddate": "2009-06-30 00:00:00",
                        "active": false,
                        "shirt": "7",
                        "team": {
                            "name": "Man Utd",
                            "fullname": "Manchester United",
                            "abbr": "MUN",
                            "iscountry": false,
                            "country": {
                                "iocid": 240,
                                "name": "England",
                                "ioc": "en"
                            }
                        }
                    },
                    {
                        "startdatetimestamp": 1531180800,
                        "startdate": "2018-07-10 00:00:00",
                        "enddatetimestamp": "",
                        "enddate": "",
                        "active": true,
                        "shirt": "7",
                        "team": {
                            "name": "Juventus",
                            "fullname": "Juventus Turin",
                            "abbr": "JUV",
                            "iscountry": false,
                            "country": {
                                "iocid": 105,
                                "name": "Italy",
                                "ioc": "it"
                            }
                        }
                    },
                    {
                        "startdatetimestamp": 1246406400,
                        "startdate": "2009-07-01 00:00:00",
                        "enddatetimestamp": 1531094400,
                        "enddate": "2018-07-09 00:00:00",
                        "active": false,
                        "shirt": "7",
                        "team": {
                            "name": "Real Madrid",
                            "fullname": "Real Madrid",
                            "abbr": "MAD",
                            "iscountry": false,
                            "country": {
                                "iocid": 199,
                                "name": "Spain",
                                "ioc": "es"
                            }
                        }
                    },
                    {
                        "startdatetimestamp": 1025481600,
                        "startdate": "2002-07-01 00:00:00",
                        "enddatetimestamp": 1060560000,
                        "enddate": "2003-08-11 00:00:00",
                        "active": false,
                        "shirt": "",
                        "team": {
                            "name": "Sporting",
                            "fullname": "Sporting CP",
                            "abbr": "SPO",
                            "iscountry": false,
                            "country": {
                                "iocid": 172,
                                "name": "Portugal",
                                "ioc": "pt"
                            }
                        }
                    },
                    {
                        "startdatetimestamp": "",
                        "startdate": "",
                        "enddatetimestamp": "",
                        "enddate": "",
                        "active": true,
                        "shirt": "7",
                        "team": {
                            "name": "Portugal",
                            "fullname": "Portugal",
                            "abbr": "POR",
                            "iscountry": true,
                            "country": {
                                "iocid": "",
                                "name": "International",
                                "ioc": ""
                            }
                        }
                    },
                    {
                        "startdatetimestamp": 962409600,
                        "startdate": "2000-07-01 00:00:00",
                        "enddatetimestamp": 1025395200,
                        "enddate": "2002-06-30 00:00:00",
                        "active": false,
                        "shirt": "",
                        "team": {
                            "name": "Sporting",
                            "fullname": "Sporting Lissabon",
                            "abbr": "SPO",
                            "iscountry": false,
                            "country": {
                                "iocid": 172,
                                "name": "Portugal",
                                "ioc": "pt"
                            }
                        }
                    }
                ],
                "stats": {
                    "seasons": [
                        {
                            "tname": "Man Utd",
                            "cname": "Premier League 04/05",
                            "year": "04/05",
                            "data": {
                                "active": false,
                                "lastevent": "2005-04-09 16:50:46",
                                "started": 0,
                                "goals": 1,
                                "matches": 1,
                                "substitutedin": 1
                            }
                        },
                        {
                            "tname": "Portugal",
                            "cname": "Int. Friendly Games 2018",
                            "year": "2018",
                            "data": {
                                "active": true,
                                "lastevent": "2018-06-07 20:51:43",
                                "started": 3,
                                "goals": 2,
                                "matches": 3,
                                "shotsongoal": 5,
                                "shotsoffgoal": 5,
                                "shotsblocked": 6,
                                "assists": 0,
                                "minutesplayed": 232,
                                "substitutedout": 2,
                                "totalshots": 16,
                                "matcheswon": 2,
                                "matcheslost": 1,
                                "offside": 5
                            }
                        },
                        {
                            "tname": "Real Madrid",
                            "cname": "UEFA Champions League 16/17",
                            "year": "16/17",
                            "data": {
                                "active": false,
                                "lastevent": "2017-06-22 10:49:12",
                                "started": 13,
                                "goals": 12,
                                "yellowcards": 1,
                                "matches": 13,
                                "corners": 1,
                                "shotsongoal": 28,
                                "shotsoffgoal": 23,
                                "shotsblocked": 22,
                                "assists": 5,
                                "minutesplayed": 1200,
                                "totalshots": 73,
                                "matcheswon": 8,
                                "matcheslost": 2,
                                "matchesdrawn": 3,
                                "cards2ndhalf": 1,
                                "offside": 14
                            }
                        },
                        {
                            "tname": "Real Madrid",
                            "cname": "LaLiga 16/17",
                            "year": "16/17",
                            "data": {
                                "active": false,
                                "lastevent": "2017-05-21 19:42:42",
                                "started": 29,
                                "goals": 25,
                                "yellowcards": 4,
                                "matches": 29,
                                "shotsongoal": 65,
                                "shotsoffgoal": 62,
                                "shotsblocked": 28,
                                "assists": 5,
                                "minutesplayed": 2544,
                                "substitutedout": 5,
                                "totalshots": 155,
                                "matcheswon": 20,
                                "matcheslost": 3,
                                "matchesdrawn": 6,
                                "cards1sthalf": 1,
                                "cards2ndhalf": 3,
                                "penalties": 6,
                                "offside": 26
                            }
                        },
                        {
                            "tname": "Juventus",
                            "cname": "Serie A 18/19",
                            "year": "18/19",
                            "data": {
                                "active": true,
                                "lastevent": "2018-09-01 20:00:17",
                                "started": 3,
                                "matches": 3,
                                "shotsongoal": 7,
                                "shotsoffgoal": 9,
                                "shotsblocked": 5,
                                "minutesplayed": 270,
                                "totalshots": 21,
                                "matcheswon": 3
                            }
                        }
                    ],
                    "total": {
                        "goals": 624,
                        "yellowcards": 102,
                        "matches": 720,
                        "corners": 13,
                        "shotsongoal": 535,
                        "shotsoffgoal": 481,
                        "shotsblocked": 293,
                        "assists": 125,
                        "minutesplayed": 54001,
                        "substitutedin": 33,
                        "substitutedout": 108,
                        "totalshots": 1309,
                        "matcheswon": 111,
                        "matcheslost": 21,
                        "matchesdrawn": 34,
                        "totalcards1sthalf": 2,
                        "totalcards2ndhalf": 16,
                        "penalties": 99,
                        "redcards": 6,
                        "yellowredcards": 3,
                        "offside": 245
                    }
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "f452974d288ce94418ea8057fbda9abb",
        "modified": "2018-09-02 20:12:06",
        "datetime": "2018-09-02 20:12:06",
        "api_version": "1.0"
    }
    
    

    This API contains player profile and career statistic details.

    Request

    Parameter Value Description
    pid integer player id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    player_info array array of player profile details. see player_info object reference
    team_played array array of teams info player played for during playing career. see team_played object reference
    stats array array of player career statistic. see stats object reference

    Player Profile Object Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdatetimestamp integer Player Birthdate timestamp
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    height integer player height in centimeters
    foot string player preferred foot
    twitter string twitter account url
    facebook string facebook account url

    Nationality Object Reference

    Parameter Value Description
    iocid integer country ioc code
    name string country name
    ioc string 2 letter ioc code

    Team Played Object Reference

    Parameter Value Description
    startdatetimestamp integer Starting timestamp with team
    startdate string Starting date with team
    enddatetimestamp integer End timestamp with team
    enddate string End timestamp with team
    active string true if player is still playing for the team, false if player is not with the team
    shirt integer Player shirt number with the team
    team array An array of team detail. see team object reference

    Team Object Reference

    Parameter Value Description
    name string Team name
    fullname string Team full name
    abbr string Team short name
    iscountry string true if team is a national team, false if team is a domestic club
    country array An array of team country detail. see nationality object reference

    Stats Object Reference

    Parameter Value Description
    season array An array of player season wise career statistic detail. see season object reference
    total array An array of player total career statistic detail.

    Season Object Reference

    Parameter Value Description
    tname string Team name
    cname string Competition name
    year integer Competition playing year
    data array An array of player statistic detail. see data object reference

    Data Object Reference

    Parameter Value Description
    active string true if player is still playing for the team, false if player is not with the team
    lastevent string date of last event played by the player during the competition
    started integer Number of games player included in starting 11
    goals integer Number of scored by the player
    yellowcards integer Number of yellow cards received by the player
    matches integer Number of matches played by the player
    corners integer Number of corners taken by the player
    shotsongoal integer Number of shots on target by the player
    shotsoffgoal integer Number of shots off target by the player
    shotsblocked integer Number of shots blocked got blocked of the the player
    assists integer Number of assists made by the player
    minutesplayed integer Number of minutes played by the player
    substitutedout integer Number of times played subbed off
    totalshots integer Number of shots hit by the player
    matcheswon integer Number of matches won by the player's team when player participated in the match
    matcheslost integer Number of matches lost by the player's team when player participated in the match
    matchesdrawn integer Number of matches drawn by the player's team when player participated in the match
    cards1sthalf integer Number of cards received by the player during 1st half's play
    cards2ndhalf integer Number of cards received by the player during 2nd half's play
    penalties integer Number of penalties taken by the player
    redcards integer Number of red cards received by the player
    yellowredcards integer Number of times 2 yellow cards/red card received by the player in a match
    offside integer Number of times player fouled offside
    cleansheet integer Number of cleansheets kept by player as goalkeeper

    Match status Reference

    Code Description
    1 Upcoming
    2 Result
    3 Live
    4 Canceled

    Match Game State Reference

    Code Description
    1 Not started
    2 1st half
    3 Halftime
    4 2nd half
    5 Extra Time
    6 Ended

    Playing Position Reference

    Code Description
    G Goalkeeper
    D Defender
    M Midfielder
    F Forward

    Basketball API

    Getting your Keys

    You will need an active access key and secret key with a valid subsciption to start using our API. Please visit entitysport.com to request your keys and subscription.

    Obtaining Token

    To authorize, use this code:

    curl -X POST "https://basketball.entitysport.com/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY"
    
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "token": "1|X#aFhlzAsd",
            "expires": "12312312312",
        },
        "api_version": "2.0"
    }
    
    

    To access any API, you need a token. A token can be generated using your keys. Token is a piece of information that would allow you to access our API data until your subscription expires. Auth API provides you the token, by validating your keys. Request to our Auth API whenever the access token is expired or unavailable.

    Request

    Response

    Making your First Request

    curl -X GET "https://basketball.entitysport.com/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "api_doc": "https://doc.entitysport.com/#basketball-api/",
            "status_codes": {
                "ok": "Success",
                "error": "Failure",
                "invalid": "Invalid Request",
                "unauthorized": "Un authorized",
                "noaccess": "No access to requested resource"
            }
        },
        "api_version": "2.0"
    }
    
    

    It's very easy to start using the EntitySport Basketball API. By passing your token as token to our api server, you can get access to our API data instantly.

    https Request

    GET https://basketball.entitysport.com/?token=[ACCESS_TOKEN]

    https Status Code

    All API request will resolve with any of the following https header status.

    Response Code Description
    200 API request valid, informations ready to access
    304 API request valid, but data was not modified since last accessed (compared using Etag)
    400 Client side error. occurs for invalid request
    401 occurs for unauthorized request
    501 Server side error. Internal server error, unable to process your request

    API Response

    
    {
        "status": "ok",
        "response": {},
        "etag": "8fc93de066d8d802a36e0882ecc77fdb",
        "modified": "2017-01-31 16:29:11",
        "datetime": "2017-01-31 16:29:11",
        "api_version": "1.0"
    }
    
    

    All successfull API request will return json output. The basic structure of data is available on all of the calls.

    Status - Possible Values are as follows :

    Status Description
    ok A successfull response
    error if the request contains error
    unauthorized if the request is not authorized, usually for invalid/expired access token
    accessdenied if your app try to access non permitted data

    Pagination

    Parameter Value Description
    per_page Number Number of items to list in each API request
    paged Number Page Number for request

    API Objects

    There are some informations that we call as OBJECT. A response can contain a single object, or multiple objects or no objects at all. It is important get famililar with our objects.

    We have 5 Obejcts in total. A object is a set of data, which contains a unique identifier, and directly relates to other objects. ie: match object connects inning object, team object.

    Each object has a unique identifier which start with the first character of object name, and id as suffix. ie: competition unique identified named as cid, for match it's mid, for player it's pid, for team, it's tid and for season - sid.

    Seasons API

    curl -X GET "https://basketball.entitysport.com/seasons/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "sid": "18-19",
                    "name": "18-19",
                    "competitions_url": "season/18-19/competitions"
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "cff73d2d1d4b4911d1950e59127517fa",
        "modified": "2019-01-13 17:27:36",
        "datetime": "2019-01-13 17:27:36",
        "api_version": "1.0"
    }
    
    

    Provides information of all avaialable Basketball seasons you have access. A season is named as complete year ie: 2018. for all tournaments that happens in the correspoding year, or name cross year ie: 18-19 for matches happens in multiple years or vice versa.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    sid string season id
    name string season representational name
    competitions_url string API URL address for list of competitions played on the season

    Season Competitions API

    curl -X GET "https://basketball.entitysport.com/season/sid/competitions?token=[ACCESS_TOKEN]&per_page=10&&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": 1,
                    "cname": "NBA",
                    "startdate": "2018-10-16 00:00:00",
                    "enddate": "2019-07-01 23:59:59",
                    "startdatetimestamp": 1539648000,
                    "endtdatetimestamp": 1562025599,
                    "year": "18/19",
                    "category": "USA",
                    "ioc_id": "226",
                    "ioc": "us",
                    "status": 3,
                    "status_str": "live",
                    "logo": "",
                    "competition_url": "competition/1",
                    "team_url": "competition/1/squad",
                    "match_url": "competition/1/matches",
                    "stats_url": "competition/1/stats"
                },
                {
                    "cid": 3,
                    "cname": "Euroleague",
                    "startdate": "2018-10-11 00:00:00",
                    "enddate": "2019-05-19 23:59:59",
                    "startdatetimestamp": 1539216000,
                    "endtdatetimestamp": 1558310399,
                    "year": "18/19",
                    "category": "International",
                    "ioc_id": "",
                    "ioc": "",
                    "status": 3,
                    "status_str": "live",
                    "logo": "",
                    "competition_url": "competition/3",
                    "team_url": "competition/3/squad",
                    "match_url": "competition/3/matches",
                    "stats_url": "competition/3/stats"
                },
                {
                    "cid": 2,
                    "cname": "Eurocup",
                    "startdate": "2018-10-03 00:00:00",
                    "enddate": "2018-12-19 23:59:59",
                    "startdatetimestamp": 1538524800,
                    "endtdatetimestamp": 1545263999,
                    "year": "18/19",
                    "category": "International",
                    "ioc_id": "",
                    "ioc": "",
                    "status": 2,
                    "status_str": "completed",
                    "logo": "",
                    "competition_url": "competition/2",
                    "team_url": "competition/2/squad",
                    "match_url": "competition/2/matches",
                    "stats_url": "competition/2/stats"
                }
            ],
            "total_items": 3,
            "total_pages": 1
        },
        "etag": "599a361d49a00f49c0178033c86b2af9",
        "modified": "2019-01-13 17:28:22",
        "datetime": "2019-01-13 17:28:22",
        "api_version": "1.0"
    }
    
    

    This will list all available competitions those you are subscribed and can access for specified season. Season is named using 4 digit year, ex: 2018, or Year combo, ex: 18-19.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    sid string season id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    team_url string Competition team squad information API end point url
    match_url string Competition matches information API end point url
    stats_url string Competition player statistic information API end point url

    Competitions List API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/competitions?token=[ACCESS_TOKEN]"
    

    Using Token and Pagination parameter:

    curl -X GET "https://basketball.entitysport.com/competitions?token=[ACCESS_TOKEN]&per_page=10&paged=1"
    

    Using Token, Pagination and status parameter:

    curl -X GET "https://basketball.entitysport.com/competitions?token=[ACCESS_TOKEN]&status=3&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": 1,
                    "cname": "NBA",
                    "startdate": "2018-10-16 00:00:00",
                    "enddate": "2019-07-01 23:59:59",
                    "startdatetimestamp": 1539648000,
                    "endtdatetimestamp": 1562025599,
                    "year": "18/19",
                    "category": "USA",
                    "ioc_id": "226",
                    "ioc": "us",
                    "status": 3,
                    "status_str": "live",
                    "logo": "",
                    "competition_url": "competition/1",
                    "team_url": "competition/1/squad",
                    "match_url": "competition/1/matches",
                    "stats_url": "competition/1/stats"
                },
                {
                    "cid": 2,
                    "cname": "Eurocup",
                    "startdate": "2018-10-03 00:00:00",
                    "enddate": "2018-12-19 23:59:59",
                    "startdatetimestamp": 1538524800,
                    "endtdatetimestamp": 1545263999,
                    "year": "18/19",
                    "category": "International",
                    "ioc_id": "",
                    "ioc": "",
                    "status": 2,
                    "status_str": "completed",
                    "logo": "",
                    "competition_url": "competition/2",
                    "team_url": "competition/2/squad",
                    "match_url": "competition/2/matches",
                    "stats_url": "competition/2/stats"
                },
                {
                    "cid": 3,
                    "cname": "Euroleague",
                    "startdate": "2018-10-11 00:00:00",
                    "enddate": "2019-05-19 23:59:59",
                    "startdatetimestamp": 1539216000,
                    "endtdatetimestamp": 1558310399,
                    "year": "18/19",
                    "category": "International",
                    "ioc_id": "",
                    "ioc": "",
                    "status": 3,
                    "status_str": "live",
                    "logo": "",
                    "competition_url": "competition/3",
                    "team_url": "competition/3/squad",
                    "match_url": "competition/3/matches",
                    "stats_url": "competition/3/stats"
                },
                {
                    "cid": 4,
                    "cname": "BBL",
                    "startdate": "2018-09-28 00:00:00",
                    "enddate": "2019-06-25 23:59:59",
                    "startdatetimestamp": 1538092800,
                    "endtdatetimestamp": 1561507199,
                    "year": "18/19",
                    "category": "Germany",
                    "ioc_id": "80",
                    "ioc": "de",
                    "status": 3,
                    "status_str": "live",
                    "logo": "",
                    "competition_url": "competition/4",
                    "team_url": "competition/4/squad",
                    "match_url": "competition/4/matches",
                    "stats_url": "competition/4/stats"
                }
            ],
            "total_items": 4,
            "total_pages": 1
        },
        "etag": "ace2dcd13ce486ed3b127d15405ae9eb",
        "modified": "2019-01-13 17:32:02",
        "datetime": "2019-01-13 17:32:02",
        "api_version": "1.0"
    }
    
    

    This API lists all available competitions those user are subscribed and can access. This API is a directory of all competitions user have access.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    status integer status code for the competition, available status code 1 = upcoming, 2 = completed, 3 = live
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    team_url string Competition team squad information API end point url
    match_url string Competition matches information API end point url
    stats_url string Competition player statistic information API end point url

    Competitions Information API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/competition/3/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": 1,
                    "cname": "NBA",
                    "startdate": "2018-10-16 00:00:00",
                    "enddate": "2019-07-01 23:59:59",
                    "startdatetimestamp": 1539648000,
                    "endtdatetimestamp": 1562025599,
                    "year": "18/19",
                    "category": "USA",
                    "ioc_id": "226",
                    "ioc": "us",
                    "status": 3,
                    "status_str": "live",
                    "logo": "",
                    "teams": [
                        {
                            "tid": 1,
                            "tname": "Chicago",
                            "fullname": "Chicago Bulls",
                            "abbr": "CHI",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "1966",
                            "website": "http://www.nba.com/bulls/",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://basketball.entitysport.com/assets/team/chicago.png"
                        },
                        {
                            "tid": 2,
                            "tname": "Milwaukee",
                            "fullname": "Milwaukee Bucks",
                            "abbr": "MIL",
                            "iscountry": "false",
                            "isclub": "true",
                            "founded": "1968",
                            "website": "http://www.nba.com/bucks/",
                            "twitter": "",
                            "hashtag": "",
                            "teamlogo": "https://basketball.entitysport.com/assets/team/milwaukee.png"
                        }
                    ],
                    "team_url": "competition/1/squad",
                    "match_url": "competition/1/matches",
                    "stats_url": "competition/1/stats"
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "564a75341a5b920b2878611729319556",
        "modified": "2019-01-13 17:33:38",
        "datetime": "2019-01-13 17:33:38",
        "api_version": "1.0"
    }
    
    

    This API has competition and it's teams information.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    teams array An array of all teams related to the competition. see teams object reference
    team_url string Competition team squad information API end point url
    match_url string Competition matches information API end point url
    stats_url string Competition player statistic information API end point url

    Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url

    Competitions Squad API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/competition/3/squad?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "competition": {
                "cid": 1,
                "cname": "NBA",
                "startdate": "2018-10-16 00:00:00",
                "enddate": "2019-07-01 23:59:59",
                "startdatetimestamp": 1539648000,
                "endtdatetimestamp": 1562025599,
                "year": "18/19",
                "category": "USA",
                "ioc_id": "226",
                "ioc": "us",
                "status": 3,
                "status_str": "live",
                "logo": ""
            },
            "teams": [
                {
                    "tid": 1,
                    "tname": "Chicago",
                    "fullname": "Chicago Bulls",
                    "abbr": "CHI",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "1966",
                    "website": "http://www.nba.com/bulls/",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://basketball.entitysport.com/assets/team/chicago.png",
                    "squads": [
                        {
                            "pid": 23,
                            "fullname": "Jabari Parker",
                            "birthdate": "1995-03-15",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "primaryposition": "SF",
                            "primarypositionname": "Small forward",
                            "height": "203",
                            "weight": "111",
                            "fantasyplayerrating": 8
                        },
                        {
                            "pid": 25,
                            "fullname": "Zach LaVine",
                            "birthdate": "1995-03-10",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "SG",
                            "primarypositionname": "Shooting guard",
                            "height": "195",
                            "weight": "91",
                            "fantasyplayerrating": 8
                        },
                        {
                            "pid": 33,
                            "fullname": "Robin Lopez",
                            "birthdate": "1988-04-01",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "C",
                            "positionname": "Center",
                            "primaryposition": "C",
                            "primarypositionname": "Center",
                            "height": "213",
                            "weight": "125",
                            "fantasyplayerrating": 8
                        }
                    ]
                }
            ],
            "total_items": 30,
            "total_pages": 1
        },
        "etag": "eb90f7dd8099e59e124f6c92cf0f9983",
        "modified": "2019-01-13 17:44:31",
        "datetime": "2019-01-13 17:44:31",
        "api_version": "1.0"
    }
    
    

    This API has competition's all teams squad/roaster player details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    competition array An array of competition details. see competition object reference
    teams array An array of all teams related to the competition containing an array of players. see teams object reference

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    squads array An array of player details. see player object reference

    Player Object Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    primaryposition string player primary playing position
    primarypositionname string player primary playing position name
    height integer player height in centimeters
    weight integer player weight in pounds
    fantasyplayerrating string player fantasy credit ratings.

    Nationality Object Reference

    Parameter Value Description
    iocid integer country ioc code
    name string country name
    ioc string 2 letter ioc code

    Competitions Matches API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/competition/3/matches?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 1,
                    "round": {
                        "round": "1",
                        "name": "1"
                    },
                    "result": {
                        "home": "128",
                        "away": "125",
                        "winner": "home"
                    },                
                    "teams": {
                        "home": {
                            "tid": 18,
                            "tname": "Minnesota",
                            "logo": "https://basketball.entitysport.com/assets/team/minnesota.png",
                            "fullname": "Minnesota Timberwolves",
                            "abbr": "MIN"
                        },
                        "away": {
                            "tid": 26,
                            "tname": "Utah",
                            "logo": "https://basketball.entitysport.com/assets/team/minnesota.png",
                            "fullname": "Utah Jazz",
                            "abbr": "UTA"
                        }
                    },
                    "quarters": {
                        "q1": {
                            "home": 32,
                            "away": 25
                        },
                        "q2": {
                            "home": 33,
                            "away": 31
                        },
                        "q3": {
                            "home": 36,
                            "away": 40
                        },
                        "q4": {
                            "home": 27,
                            "away": 29
                        },
                        "ft": {
                            "home": 128,
                            "away": 125
                        }
                    },
                    "datestart": "2018-11-01 00:00:00",
                    "dateend": "2018-11-01 19:42:29",
                    "timestampstart": "1541030400",
                    "timestampend": "1541101349",                
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 7,
                    "attendance": 10079,
                    "competition": {
                        "cid": 1,
                        "cname": "NBA",
                        "startdate": "2018-10-16 00:00:00",
                        "enddate": "2019-07-01 23:59:59",
                        "startdatetimestamp": 1539648000,
                        "endtdatetimestamp": 1562025599,
                        "year": "18/19",
                        "category": "USA",
                        "ioc_id": "226",
                        "ioc": "us",
                        "status": 3,
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": 18,
                        "name": "Target Center",
                        "location": "Minneapolis, USA"
                    }
                }
            ],
            "total_items": 1230,
            "total_pages": 1230
        },
        "etag": "6b063d22fed16728c4439a19f044ad16",
        "modified": "2019-01-13 18:08:45",
        "datetime": "2019-01-13 18:08:45",
        "api_version": "1.0"
    }
    
    

    This API has competition's all matches details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid integer match id
    round array An array of match round details. see round object reference
    result array An array of match result details. see result object reference
    teams array An array of match teams details. see teams object reference
    quarters array An array of match quarters wise details. see quarters object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart integer timestamp of match start time
    timestampend integer timestamp of match end time
    injurytime integer added injury time after the end of regular period time
    time integer match running time in minutes
    status_str string Match status string live, completed, upcoming
    status integer Match status code 3 = live, 2 = completed, 1 = upcoming
    gamestate_str string Match state string
    gamestate integer Match state code
    attendance integer total spectator attendance of the match
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Round Object Reference

    Parameter Value Description
    type string round type. There are 2 type of rounds table and cup.
    name string round
    type string round name

    Result Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url
    fullname string team full name
    abbr string team name abbreviation

    Quarters Object Reference

    Parameter Value Description
    q1 array An array of team score details in quarter 1. see q1 object reference
    q2 array An array of team score details in quarter 2. see q2 object reference
    q3 array An array of team score details in quarter 2. see q3 object reference
    q4 array An array of team score details in quarter 2. see q4 object reference
    ft array An array of team score details after full time. see ft object reference

    q1/q2/q3/q4/ft Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string venue location

    Competitions Standings API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/competition/1/standings?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "competition": {
                "cid": 1,
                "cname": "NBA",
                "startdate": "2018-10-16 00:00:00",
                "enddate": "2019-07-01 23:59:59",
                "startdatetimestamp": 1539648000,
                "endtdatetimestamp": 1562025599,
                "year": "18/19",
                "category": "USA",
                "ioc_id": "226",
                "ioc": "us",
                "status": 3,
                "status_str": "live",
                "logo": ""
            },
            "standings": [
                {
                    "name": "Atlantic Division",
                    "groupname": "Atlantic D",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 25,
                                "tname": "Toronto",
                                "logo": "https://basketball.entitysport.com/assets/team/toronto.png",
                                "win": 28,
                                "loss": 11,
                                "winpercentage": 0.718,
                                "total": 39,
                                "streak": 2,
                            },
                            {
                                "position": 2,
                                "tid": 12,
                                "tname": "Philadelphia",
                                "logo": "https://basketball.entitysport.com/assets/team/philadelphia.png",
                                "win": 25,
                                "loss": 14,
                                "winpercentage": 0.641,
                                "total": 39,
                                "streak": 2,
                            }
                        ]
                    }
                },
                {
                    "name": "Central Division",
                    "groupname": "Central Di",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 2,
                                "tname": "Milwaukee",
                                "logo": "https://basketball.entitysport.com/assets/team/milwaukee.png",
                                "win": 26,
                                "loss": 10,
                                "winpercentage": 0.722,
                                "total": 36,
                                "streak": 4,
                            },
                            {
                                "position": 2,
                                "tid": 11,
                                "tname": "Indiana",
                                "logo": "https://basketball.entitysport.com/assets/team/indiana.png",
                                "win": 25,
                                "loss": 12,
                                "winpercentage": 0.676,
                                "total": 37,
                                "streak": 5,
                            }
                        ]
                    }
                },
                {
                    "name": "Southeast Division",
                    "groupname": "Southeast ",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 27,
                                "tname": "Miami",
                                "logo": "https://basketball.entitysport.com/assets/team/miami.png",
                                "win": 18,
                                "loss": 18,
                                "winpercentage": 0.5,
                                "total": 36,
                                "streak": 1,
                            },
                            {
                                "position": 2,
                                "tid": 22,
                                "tname": "Charlotte",
                                "logo": "https://basketball.entitysport.com/assets/team/charlotte.png",
                                "win": 18,
                                "loss": 19,
                                "winpercentage": 0.486,
                                "total": 37,
                                "streak": -1,
                            }
                        ]
                    }
                },
                {
                    "name": "Northwest Division",
                    "groupname": "Northwest ",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 9,
                                "tname": "Denver",
                                "logo": "https://basketball.entitysport.com/assets/team/denver.png",
                                "win": 24,
                                "loss": 11,
                                "winpercentage": 0.686,
                                "total": 35,
                                "streak": 3,
                            },
                            {
                                "position": 2,
                                "tid": 10,
                                "tname": "Oklahoma City",
                                "logo": "https://basketball.entitysport.com/assets/team/oklahomacity.png",
                                "win": 24,
                                "loss": 13,
                                "winpercentage": 0.649,
                                "total": 37,
                                "streak": 2,
                            }
                        ]
                    }
                },
                {
                    "name": "Pacific Division",
                    "groupname": "Pacific Di",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 20,
                                "tname": "Golden State",
                                "logo": "https://basketball.entitysport.com/assets/team/goldenstate.png",
                                "win": 25,
                                "loss": 13,
                                "winpercentage": 0.658,
                                "total": 38,
                                "streak": 2,
                            },
                            {
                                "position": 2,
                                "tid": 17,
                                "tname": "LA Clippers",
                                "logo": "https://basketball.entitysport.com/assets/team/laclippers.png",
                                "win": 21,
                                "loss": 16,
                                "winpercentage": 0.568,
                                "total": 37,
                                "streak": -2,
                            }
                        ]
                    }
                },
                {
                    "name": "Southwest Division",
                    "groupname": "Southwest",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 4,
                                "tname": "Houston",
                                "logo": "https://basketball.entitysport.com/assets/team/houston.png",
                                "win": 21,
                                "loss": 15,
                                "winpercentage": 0.583,
                                "total": 36,
                                "streak": 5,
                            },
                            {
                                "position": 2,
                                "tid": 21,
                                "tname": "San Antonio",
                                "logo": "https://basketball.entitysport.com/assets/team/sanantonio.png",
                                "win": 21,
                                "loss": 17,
                                "winpercentage": 0.553,
                                "total": 38,
                                "streak": 2,
                            }
                        ]
                    }
                },
                {
                    "name": "Eastern Conference",
                    "groupname": "Eastern Co",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 2,
                                "tname": "Milwaukee",
                                "logo": "https://basketball.entitysport.com/assets/team/milwaukee.png",
                                "win": 26,
                                "loss": 10,
                                "winpercentage": 0.722,
                                "total": 36,
                                "streak": 4,
                            },
                            {
                                "position": 2,
                                "tid": 25,
                                "tname": "Toronto",
                                "logo": "https://basketball.entitysport.com/assets/team/toronto.png",
                                "win": 28,
                                "loss": 11,
                                "winpercentage": 0.718,
                                "total": 39,
                                "streak": 2,
                            }
                        ]
                    }
                },
                {
                    "name": "Western Conference",
                    "groupname": "Western Co",
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 9,
                                "tname": "Denver",
                                "logo": "https://basketball.entitysport.com/assets/team/denver.png",
                                "win": 24,
                                "loss": 11,
                                "winpercentage": 0.686,
                                "total": 35,
                                "streak": 3,
                            },
                            {
                                "position": 2,
                                "tid": 20,
                                "tname": "Golden State",
                                "logo": "https://basketball.entitysport.com/assets/team/goldenstate.png",
                                "win": 25,
                                "loss": 13,
                                "winpercentage": 0.658,
                                "total": 38,
                                "streak": 2,
                            }
                        ]
                    }
                },
                {
                    "name": "NBA",
                    "groupname": null,
                    "tables": {
                        "total": [
                            {
                                "position": 1,
                                "tid": 2,
                                "tname": "Milwaukee",
                                "logo": "https://basketball.entitysport.com/assets/team/milwaukee.png",
                                "win": 26,
                                "loss": 10,
                                "winpercentage": 0.722,
                                "total": 36,
                                "streak": 4,
                            },
                            {
                                "position": 2,
                                "tid": 25,
                                "tname": "Toronto",
                                "logo": "https://basketball.entitysport.com/assets/team/toronto.png",
                                "win": 28,
                                "loss": 11,
                                "winpercentage": 0.718,
                                "total": 39,
                                "streak": 2,
                            }
                        ]
                    }
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "8e1412de48c2dce977328fed73fa99d9",
        "modified": "2019-01-14 14:42:16",
        "datetime": "2019-01-14 14:42:16",
        "api_version": "1.0"
    }
    
    
    

    This API has competition's all matches details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    competition array An array of competition details. see competition object reference
    standings array An array of all standings of the competition containing an array of points table. see teams object reference

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Standings Reference

    Parameter Value Description
    name string Points table name
    groupname string group points table name
    tables array An array of total, home and away performance points table. see points table object reference

    Points Table Object Reference

    Parameter Value Description
    position integer Team position in the table
    tid integer team id
    tname string team name
    logo string team logo url
    win integer total matches won by the team
    loss integer total matches lost by the team
    winpercentage float win percentage of the team
    total integer total matches played by the team
    streak integer win or loss streak of the team, (+) value for win and (-) value for the loss

    Competitions Statistic API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/competition/3/stats?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "competition": {
                "cid": 1,
                "cname": "NBA",
                "startdate": "2018-10-16 00:00:00",
                "enddate": "2019-07-01 23:59:59",
                "startdatetimestamp": 1539648000,
                "endtdatetimestamp": 1562025599,
                "year": "18/19",
                "category": "USA",
                "ioc_id": "226",
                "ioc": "us",
                "status": 3,
                "status_str": "live",
                "logo": ""
            },
            "stats": [
                {
                    "pid": 114,
                    "name": "James Harden",
                    "team": {
                        "tid": 4,
                        "name": "Houston"
                    },
                    "rebound": 276,
                    "offensive": 38,
                    "defensive": 238,
                    "assists": 359,
                    "turnovers": 240,
                    "steals": 89,
                    "blocks": 29,
                    "personalfouls": 156,
                    "points": 1535,
                    "freethrowssuccess": 430,
                    "2pointerssuccess": 233,
                    "3pointerssuccess": 213,
                    "freethrowsfailed": 68,
                    "2pointersfailed": 218,
                    "3pointersfailed": 350,
                    "freethrowstotal": 498,
                    "2pointerstotal": 451,
                    "3pointerstotal": 563,
                    "fieldpointtotal": 1014,
                    "fieldpointsuccess": 446,
                    "fieldpointfailed": 568
                },
                {
                    "pid": 64,
                    "name": "Kevin Durant",
                    "team": {
                        "tid": 20,
                        "name": "Golden State"
                    },
                    "rebound": 347,
                    "offensive": 22,
                    "defensive": 325,
                    "assists": 282,
                    "turnovers": 153,
                    "steals": 39,
                    "blocks": 53,
                    "personalfouls": 100,
                    "points": 1314,
                    "freethrowssuccess": 312,
                    "2pointerssuccess": 363,
                    "3pointerssuccess": 92,
                    "freethrowsfailed": 33,
                    "2pointersfailed": 289,
                    "3pointersfailed": 147,
                    "freethrowstotal": 345,
                    "2pointerstotal": 652,
                    "3pointerstotal": 239,
                    "fieldpointtotal": 891,
                    "fieldpointsuccess": 455,
                    "fieldpointfailed": 436
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "f36f26a30a64e0cbaaa599695c89450c",
        "modified": "2019-01-23 07:04:13",
        "datetime": "2019-01-23 07:04:13",
        "api_version": "1.0"
    }
    
    

    This API has competition's total player statistic details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Competition object reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Player Statistics Object Reference

    Parameter Value Description
    pid integer player id
    name string player name
    team array array of player team details see team object reference
    rebound integer player rebound stats details.
    offensive integer player offensive rebound stats details.
    defensive integer player defensive rebound stats details.
    assists integer player assists stats details.
    turnovers integer player turnovers stats details.
    steals integer player steals stats details.
    blocks integer player blocks stats details.
    personalfouls integer player personal fouls stats details.
    points integer player points stats details.
    freethrowssuccess integer player free throws success stats details.
    2pointerssuccess integer player 2pointers success stats details.
    3pointerssuccess integer player 3pointers success stats details.
    fieldpointsuccess integer player field point success stats details.
    freethrowsfailed integer player free throws failed stats details.
    2pointersfailed integer player 2pointers failed stats details.
    3pointersfailed integer player 3pointers failed stats details.
    fieldpointfailed integer player field point failed stats details.
    freethrowstotal integer player free throws total stats details.
    2pointerstotal integer player 2pointers total stats details.
    3pointerstotal integer player 3pointers total stats details.
    fieldpointtotal integer player field point total stats details.

    Team Object Reference

    Parameter Value Description
    tid integer team id
    name string team name

    Matches List API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://basketball.entitysport.com/matches?token=[ACCESS_TOKEN]&status=1"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://basketball.entitysport.com/matches?token=[ACCESS_TOKEN]&status=1&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 1,
                    "round": {
                        "round": "1",
                        "name": "1"
                    },               
                    "teams": {
                        "home": {
                            "tid": 18,
                            "tname": "Minnesota",
                            "logo": "https://basketball.entitysport.com/assets/team/minnesota.png",
                            "fullname": "Minnesota Timberwolves",
                            "abbr": "MIN"
                        },
                        "away": {
                            "tid": 26,
                            "tname": "Utah",
                            "logo": "https://basketball.entitysport.com/assets/team/minnesota.png",
                            "fullname": "Utah Jazz",
                            "abbr": "UTA"
                        }
                    },
                    "datestart": "2018-11-01 00:00:00",
                    "dateend": "2018-11-01 19:42:29",
                    "timestampstart": "1541030400",
                    "timestampend": "1541101349",
                    "time": 48,                  
                    "result": {
                        "home": "128",
                        "away": "125",
                        "winner": "home"
                    }, 
                    "quarters": {
                        "q1": {
                            "home": 32,
                            "away": 25
                        },
                        "q2": {
                            "home": 33,
                            "away": 31
                        },
                        "q3": {
                            "home": 36,
                            "away": 40
                        },
                        "q4": {
                            "home": 27,
                            "away": 29
                        },
                        "ft": {
                            "home": 128,
                            "away": 125
                        }
                    },              
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 7,
                    "attendance": 10079,
                    "competition": {
                        "cid": 1,
                        "cname": "NBA",
                        "startdate": "2018-10-16 00:00:00",
                        "enddate": "2019-07-01 23:59:59",
                        "startdatetimestamp": 1539648000,
                        "endtdatetimestamp": 1562025599,
                        "year": "18/19",
                        "category": "USA",
                        "ioc_id": "226",
                        "ioc": "us",
                        "status": 3,
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": 18,
                        "name": "Target Center",
                        "location": "Minneapolis, USA"
                    }
                }
            ],
            "total_items": 1230,
            "total_pages": 1230
        },
        "etag": "6b063d22fed16728c4439a19f044ad16",
        "modified": "2019-01-13 18:08:45",
        "datetime": "2019-01-13 18:08:45",
        "api_version": "1.0"
    }
    
    

    This API has list of all matches user have access.

    Request

    Parameter Value Description
    status integer status code 1 = upcoming, 2 = result, 3 = live.
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid integer match id
    round array An array of match round details. see round object reference
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart integer timestamp of match start time
    timestampend integer timestamp of match end time
    time integer match running time in minutes
    result array An array of match result details. see result object reference
    quarters array An array of match quarters wise details. see quarters object reference
    status_str string Match status string live, completed, upcoming
    status integer Match status code 3 = live, 2 = completed, 1 = upcoming
    gamestate_str string Match state string
    gamestate integer Match state code
    attendance integer total spectator attendance of the match
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Round Object Reference

    Parameter Value Description
    type string round type. There are 2 type of rounds table and cup.
    name string round
    type string round name

    Result Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url
    fullname string team full name
    abbr string team name abbreviation

    Quarters Object Reference

    Parameter Value Description
    q1 array An array of team score details in quarter 1. see q1 object reference
    q2 array An array of team score details in quarter 2. see q2 object reference
    q3 array An array of team score details in quarter 2. see q3 object reference
    q4 array An array of team score details in quarter 2. see q4 object reference
    ft array An array of team score details after full time. see ft object reference

    q1/q2/q3/q4/ft Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string venue location

    Match Info API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/matches/470/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": 313,
                    "round": {
                        "round": "1",
                        "name": "1"
                    },
                    "teams": {
                        "home": {
                            "tid": 27,
                            "tname": "Miami",
                            "logo": "https://basketball.entitysport.com/assets/team/miami.png",
                            "fullname": "Miami Heat",
                            "abbr": "MIA"
                        },
                        "away": {
                            "tid": 29,
                            "tname": "Orlando",
                            "logo": "https://basketball.entitysport.com/assets/team/miami.png",
                            "fullname": "Orlando Magic",
                            "abbr": "ORL"
                        }
                    },
                    "datestart": "2018-12-05 00:30:00",
                    "dateend": "2018-12-05 02:45:06",
                    "timestampstart": "1543969800",
                    "timestampend": "1543977906",
                    "time": 48,
                    "result": {
                        "home": 90,
                        "away": 105,
                        "winner": "away"
                    },
                    "quarters": {
                        "q1": {
                            "home": 25,
                            "away": 27
                        },
                        "q2": {
                            "home": 25,
                            "away": 19
                        },
                        "q3": {
                            "home": 12,
                            "away": 30
                        },
                        "q4": {
                            "home": 28,
                            "away": 29
                        },
                        "ft": {
                            "home": 90,
                            "away": 105
                        }
                    },
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 7,
                    "attendance": 19600,
                    "competition": {
                        "cid": 1,
                        "cname": "NBA",
                        "startdate": "2018-10-16 00:00:00",
                        "enddate": "2019-07-01 23:59:59",
                        "startdatetimestamp": 1539648000,
                        "endtdatetimestamp": 1562025599,
                        "year": "18/19",
                        "category": "USA",
                        "ioc_id": "226",
                        "ioc": "us",
                        "status": 3,
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": 27,
                        "name": "American Airlines Arena",
                        "location": "Miami, USA",
                        "founded": "",
                        "capacity": "19600"
                    }
                },
                "lineup": {
                    "players": {
                        "home": [
                            {
                                "pid": 4,
                                "name": "Wayne Ellington",
                                "shirt": "2",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 146,
                                "name": "James Johnson",
                                "shirt": "16",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "PF",
                                "primarypositionname": "Power forward"
                            },
                            {
                                "pid": 251,
                                "name": "Rodney McGruder",
                                "shirt": "17",
                                "positiontype": "G-F",
                                "positionname": "Guard-Forward",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 280,
                                "name": "Josh Richardson",
                                "shirt": "0",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "SF",
                                "primarypositionname": "Small forward"
                            },
                            {
                                "pid": 244,
                                "name": "Hassan Whiteside",
                                "shirt": "21",
                                "positiontype": "C",
                                "positionname": "Center",
                                "primaryposition": "C",
                                "primarypositionname": "Center"
                            }
                        ],
                        "away": [
                            {
                                "pid": 111,
                                "name": "D.J. Augustin",
                                "shirt": "14",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "PG",
                                "primarypositionname": "Point guard"
                            },
                            {
                                "pid": 331,
                                "name": "Jonathon Simmons",
                                "shirt": "17",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 241,
                                "name": "Evan Fournier",
                                "shirt": "10",
                                "positiontype": "G-F",
                                "positionname": "Guard-Forward",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 135,
                                "name": "Aaron Gordon",
                                "shirt": "00",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "PF",
                                "primarypositionname": "Power forward"
                            },
                            {
                                "pid": 35,
                                "name": "Nikola Vucevic",
                                "shirt": "9",
                                "positiontype": "C",
                                "positionname": "Center",
                                "primaryposition": "C",
                                "primarypositionname": "Center"
                            }
                        ]
                    },
                    "substitutes": {
                        "home": [
                            {
                                "pid": 199,
                                "name": "Udonis Haslem",
                                "shirt": "40",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "PF",
                                "primarypositionname": "Power forward"
                            },
                            {
                                "pid": 182,
                                "name": "Tyler Johnson",
                                "shirt": "8",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 21,
                                "name": "Dion Waiters",
                                "shirt": "11",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 149,
                                "name": "Dwyane Wade",
                                "shirt": "3",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 1383,
                                "name": "Duncan Robinson",
                                "shirt": "55",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "SF",
                                "primarypositionname": "Small forward"
                            },
                            {
                                "pid": 526,
                                "name": "Bam Adebayo",
                                "shirt": "13",
                                "positiontype": "C-F",
                                "positionname": "Center-Forward",
                                "primaryposition": "C",
                                "primarypositionname": "Center"
                            },
                            {
                                "pid": 517,
                                "name": "Derrick Jones Jr.",
                                "shirt": "5",
                                "positiontype": "F-G",
                                "positionname": "Forward-Guard",
                                "primaryposition": "SF",
                                "primarypositionname": "Small forward"
                            },
                            {
                                "pid": 56,
                                "name": "Goran Dragic",
                                "shirt": "7",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "PG",
                                "primarypositionname": "Point guard"
                            },
                            {
                                "pid": 1411,
                                "name": "Yante Maten",
                                "shirt": "00",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "PF",
                                "primarypositionname": "Power forward"
                            },
                            {
                                "pid": 264,
                                "name": "Justise Winslow",
                                "shirt": "20",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "SF",
                                "primarypositionname": "Small forward"
                            },
                            {
                                "pid": 79,
                                "name": "Kelly Olynyk",
                                "shirt": "9",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "PF",
                                "primarypositionname": "Power forward"
                            }
                        ],
                        "away": [
                            {
                                "pid": 274,
                                "name": "Jerian Grant",
                                "shirt": "22",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 1377,
                                "name": "Melvin Frazier Jr.",
                                "shirt": "35",
                                "positiontype": "F-G",
                                "positionname": "Forward-Guard",
                                "primaryposition": "SF",
                                "primarypositionname": "Small forward"
                            },
                            {
                                "pid": 234,
                                "name": "Timofey Mozgov",
                                "shirt": "21",
                                "positiontype": "C",
                                "positionname": "Center",
                                "primaryposition": "C",
                                "primarypositionname": "Center"
                            },
                            {
                                "pid": 536,
                                "name": "Jonathan Isaac",
                                "shirt": "1",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "SF",
                                "primarypositionname": "Small forward"
                            },
                            {
                                "pid": 638,
                                "name": "Mo Bamba",
                                "shirt": "5",
                                "positiontype": "C",
                                "positionname": "Center",
                                "primaryposition": "C",
                                "primarypositionname": "Center"
                            },
                            {
                                "pid": 558,
                                "name": "Wes Iwundu",
                                "shirt": "25",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "SF",
                                "primarypositionname": "Small forward"
                            },
                            {
                                "pid": 117,
                                "name": "Terrence Ross",
                                "shirt": "31",
                                "positiontype": "G-F",
                                "positionname": "Guard-Forward",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            },
                            {
                                "pid": 253,
                                "name": "Khem Birch",
                                "shirt": "24",
                                "positiontype": "C-F",
                                "positionname": "Center-Forward",
                                "primaryposition": "C",
                                "primarypositionname": "Center"
                            },
                            {
                                "pid": 303,
                                "name": "Jarell Martin",
                                "shirt": "2",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "PF",
                                "primarypositionname": "Power forward"
                            },
                            {
                                "pid": 582,
                                "name": "Amile Jefferson",
                                "shirt": "11",
                                "positiontype": "F",
                                "positionname": "Forward",
                                "primaryposition": "PF",
                                "primarypositionname": "Power forward"
                            },
                            {
                                "pid": 549,
                                "name": "Isaiah Briscoe",
                                "shirt": "13",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "PG",
                                "primarypositionname": "Point guard"
                            },
                            {
                                "pid": 575,
                                "name": "Troy Caupain",
                                "shirt": "3",
                                "positiontype": "G",
                                "positionname": "Guard",
                                "primaryposition": "SG",
                                "primarypositionname": "Shooting guard"
                            }
                        ]
                    }
                },
                "pre_match_odds": "",
                "event": [
                    {
                        "name": "matchstart",
                        "time": 0,
                        "seconds": 0,
                        "matchevent": "started",
                        "matchscore": {
                            "home": 0,
                            "away": 0
                        }
                    },
                    {
                        "name": "1st quarter",
                        "matchevent": "quarterstart",
                        "quarter": 1
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 2,
                            "away": 0
                        },
                        "time": 1,
                        "seconds": 6,
                        "scorer": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "assists": []
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 1,
                        "seconds": 20,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "reason": "bad_pass"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "home",
                        "time": 1,
                        "seconds": 20,
                        "stealplayer": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "lostballplayer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        }
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 4,
                            "away": 0
                        },
                        "time": 1,
                        "seconds": 34,
                        "scorer": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "assists": [
                            {
                                "pid": 251,
                                "name": "Rodney McGruder"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 4,
                            "away": 2
                        },
                        "time": 1,
                        "seconds": 58,
                        "scorer": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "assists": [
                            {
                                "pid": 35,
                                "name": "Nikola Vucevic"
                            }
                        ]
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 2,
                        "seconds": 77,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 4,
                            "away": 5
                        },
                        "time": 2,
                        "seconds": 86,
                        "scorer": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "assists": [
                            {
                                "pid": 111,
                                "name": "D.J. Augustin"
                            }
                        ]
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 2,
                        "seconds": 101,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "reason": "travelling"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 4,
                            "away": 8
                        },
                        "time": 3,
                        "seconds": 122,
                        "scorer": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "assists": [
                            {
                                "pid": 331,
                                "name": "Jonathon Simmons"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 3,
                        "seconds": 135,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 3,
                        "seconds": 136,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 6,
                            "away": 8
                        },
                        "time": 3,
                        "seconds": 138,
                        "scorer": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 3,
                        "seconds": 159,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 3,
                        "seconds": 163,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 3,
                        "seconds": 165,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 4,
                        "seconds": 181,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 4,
                        "seconds": 183,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 8,
                            "away": 8
                        },
                        "time": 4,
                        "seconds": 195,
                        "scorer": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 4,
                        "seconds": 210,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 4,
                        "seconds": 211,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 4,
                        "seconds": 212,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 4,
                        "seconds": 213,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 4,
                        "seconds": 214,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 4,
                        "seconds": 215,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 4,
                        "seconds": 216,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 4,
                        "seconds": 217,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 4,
                        "seconds": 218,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 4,
                        "seconds": 219,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 4,
                        "seconds": 225,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 4,
                        "seconds": 225,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 4,
                        "seconds": 225,
                        "playerfouling": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 11,
                            "away": 8
                        },
                        "time": 4,
                        "seconds": 233,
                        "scorer": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "assists": [
                            {
                                "pid": 146,
                                "name": "James Johnson"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 5,
                        "seconds": 249,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 5,
                        "seconds": 252,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 13,
                            "away": 8
                        },
                        "time": 5,
                        "seconds": 260,
                        "scorer": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 5,
                        "seconds": 273,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 5,
                        "seconds": 273,
                        "playerblocking": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "playerblocked": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 5,
                        "seconds": 273,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 5,
                        "seconds": 273,
                        "playerfouling": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 13,
                            "away": 9
                        },
                        "time": 5,
                        "seconds": 273,
                        "scorer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 13,
                            "away": 11
                        },
                        "time": 5,
                        "seconds": 280,
                        "scorer": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "assists": [
                            {
                                "pid": 135,
                                "name": "Aaron Gordon"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 5,
                        "seconds": 299,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 6,
                        "seconds": 301,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 15,
                            "away": 11
                        },
                        "time": 6,
                        "seconds": 305,
                        "scorer": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "assists": []
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 15,
                            "away": 14
                        },
                        "time": 6,
                        "seconds": 319,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": [
                            {
                                "pid": 111,
                                "name": "D.J. Augustin"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 6,
                        "seconds": 338,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 6,
                        "seconds": 343,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 15,
                            "away": 16
                        },
                        "time": 6,
                        "seconds": 353,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 17,
                            "away": 16
                        },
                        "time": 7,
                        "seconds": 370,
                        "scorer": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "assists": [
                            {
                                "pid": 280,
                                "name": "Josh Richardson"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 7,
                        "seconds": 389,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 7,
                        "seconds": 393,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 19,
                            "away": 16
                        },
                        "time": 7,
                        "seconds": 401,
                        "scorer": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "assists": []
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 19,
                            "away": 19
                        },
                        "time": 7,
                        "seconds": 420,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": [
                            {
                                "pid": 536,
                                "name": "Jonathan Isaac"
                            }
                        ]
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 22,
                            "away": 19
                        },
                        "time": 8,
                        "seconds": 442,
                        "scorer": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "assists": [
                            {
                                "pid": 526,
                                "name": "Bam Adebayo"
                            }
                        ]
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 8,
                        "seconds": 455,
                        "playerfouling": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 8,
                        "seconds": 457,
                        "playerfouling": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 22,
                            "away": 21
                        },
                        "time": 8,
                        "seconds": 469,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 9,
                        "seconds": 481,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 9,
                        "seconds": 481,
                        "player": "",
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 22,
                            "away": 24
                        },
                        "time": 9,
                        "seconds": 491,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": [
                            {
                                "pid": 117,
                                "name": "Terrence Ross"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 9,
                        "seconds": 506,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "away",
                        "time": 9,
                        "seconds": 506,
                        "playerblocking": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "playerblocked": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 9,
                        "seconds": 509,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 9,
                        "seconds": 519,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 9,
                        "seconds": 523,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 9,
                        "seconds": 528,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "reason": "lost_ball"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "home",
                        "time": 9,
                        "seconds": 528,
                        "stealplayer": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "lostballplayer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        }
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 9,
                        "seconds": 535,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 9,
                        "seconds": 538,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 22,
                            "away": 27
                        },
                        "time": 10,
                        "seconds": 550,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": [
                            {
                                "pid": 135,
                                "name": "Aaron Gordon"
                            }
                        ]
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 10,
                        "seconds": 574,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 10,
                        "seconds": 574,
                        "playerfouling": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 10,
                        "seconds": 590,
                        "player": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 10,
                        "seconds": 590,
                        "playerblocking": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "playerblocked": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 10,
                        "seconds": 590,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 10,
                        "seconds": 594,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 10,
                        "seconds": 597,
                        "player": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 24,
                            "away": 27
                        },
                        "time": 11,
                        "seconds": 603,
                        "scorer": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 11,
                        "seconds": 625,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 11,
                        "seconds": 628,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 11,
                        "seconds": 644,
                        "playerfouling": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 11,
                        "seconds": 644,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 11,
                        "seconds": 644,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 1,
                        "matchscore": {
                            "home": 25,
                            "away": 27
                        },
                        "time": 11,
                        "seconds": 644,
                        "scorer": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 11,
                        "seconds": 659,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 12,
                        "seconds": 662,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 12,
                        "seconds": 683,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 12,
                        "seconds": 689,
                        "player": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 12,
                        "seconds": 693,
                        "player": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 12,
                        "seconds": 695,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 12,
                        "seconds": 714,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 12,
                        "seconds": 715,
                        "player": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 12,
                        "seconds": 716,
                        "player": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 12,
                        "seconds": 716,
                        "playerblocking": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "playerblocked": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 12,
                        "seconds": 717,
                        "player": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 12,
                        "seconds": 718,
                        "player": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 12,
                        "seconds": 718,
                        "playerblocking": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        },
                        "playerblocked": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 12,
                        "seconds": 719,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "1st quarter",
                        "matchevent": "quarterend",
                        "quarterscore": {
                            "home": 25,
                            "away": 27
                        },
                        "matchscore": {
                            "home": 90,
                            "away": 105,
                            "winner": "away"
                        }
                    },
                    {
                        "name": "Break",
                        "matchevent": "Break",
                        "time": "",
                        "seconds": ""
                    },
                    {
                        "name": "2nd quarter",
                        "matchevent": "quarterstart",
                        "quarter": 2
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 13,
                        "seconds": 731,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "reason": "bad_pass"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "home",
                        "time": 13,
                        "seconds": 731,
                        "stealplayer": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        },
                        "lostballplayer": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        }
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 13,
                        "seconds": 737,
                        "player": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 13,
                        "seconds": 746,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "reason": "lost_ball"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "home",
                        "time": 13,
                        "seconds": 746,
                        "stealplayer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "lostballplayer": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        }
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 27,
                            "away": 27
                        },
                        "time": 13,
                        "seconds": 754,
                        "scorer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 13,
                        "seconds": 776,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 13,
                        "seconds": 776,
                        "playerblocking": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "playerblocked": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 13,
                        "seconds": 778,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 29,
                            "away": 27
                        },
                        "time": 14,
                        "seconds": 783,
                        "scorer": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        },
                        "assists": [
                            {
                                "pid": 149,
                                "name": "Dwyane Wade"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 14,
                        "seconds": 796,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 14,
                        "seconds": 796,
                        "playerblocking": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "playerblocked": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 14,
                        "seconds": 800,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 14,
                        "seconds": 814,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "reason": "lost_ball"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "away",
                        "time": 14,
                        "seconds": 814,
                        "stealplayer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "lostballplayer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        }
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 14,
                        "seconds": 822,
                        "playerfouling": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 14,
                        "seconds": 834,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 14,
                        "seconds": 834,
                        "playerblocking": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "playerblocked": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 14,
                        "seconds": 837,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 14,
                        "seconds": 838,
                        "player": "",
                        "reason": "shot_clock_violation"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 15,
                        "seconds": 850,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 15,
                        "seconds": 853,
                        "player": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 15,
                        "seconds": 864,
                        "player": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 15,
                        "seconds": 866,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 15,
                        "seconds": 875,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "away",
                        "time": 15,
                        "seconds": 875,
                        "playerblocking": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "playerblocked": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 15,
                        "seconds": 879,
                        "player": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 15,
                        "seconds": 882,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 15,
                        "seconds": 882,
                        "playerblocking": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "playerblocked": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 15,
                        "seconds": 886,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 15,
                        "seconds": 889,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 15,
                        "seconds": 889,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 31,
                            "away": 27
                        },
                        "time": 15,
                        "seconds": 894,
                        "scorer": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 16,
                        "seconds": 916,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 16,
                        "seconds": 917,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 16,
                        "seconds": 917,
                        "player": "",
                        "reason": "shot_clock_violation"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 16,
                        "seconds": 928,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 16,
                        "seconds": 936,
                        "playerfouling": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 31,
                            "away": 28
                        },
                        "time": 16,
                        "seconds": 936,
                        "scorer": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 16,
                        "seconds": 936,
                        "player": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 16,
                        "seconds": 938,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 33,
                            "away": 28
                        },
                        "time": 16,
                        "seconds": 957,
                        "scorer": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 17,
                        "seconds": 976,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 17,
                        "seconds": 979,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 17,
                        "seconds": 987,
                        "playerfouling": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 36,
                            "away": 28
                        },
                        "time": 17,
                        "seconds": 999,
                        "scorer": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "assists": [
                            {
                                "pid": 280,
                                "name": "Josh Richardson"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 17,
                        "seconds": 1016,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 17,
                        "seconds": 1017,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 36,
                            "away": 30
                        },
                        "time": 17,
                        "seconds": 1018,
                        "scorer": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 18,
                        "seconds": 1034,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "away",
                        "time": 18,
                        "seconds": 1034,
                        "playerblocking": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "playerblocked": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 18,
                        "seconds": 1034,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 18,
                        "seconds": 1037,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 18,
                        "seconds": 1037,
                        "playerfouling": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 38,
                            "away": 30
                        },
                        "time": 18,
                        "seconds": 1053,
                        "scorer": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "assists": [
                            {
                                "pid": 79,
                                "name": "Kelly Olynyk"
                            }
                        ]
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 18,
                        "seconds": 1067,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 19,
                        "seconds": 1086,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 19,
                        "seconds": 1088,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 19,
                        "seconds": 1099,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 19,
                        "seconds": 1102,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 19,
                        "seconds": 1106,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "reason": "bad_pass"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 19,
                        "seconds": 1106,
                        "playerfouling": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 19,
                        "seconds": 1122,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 19,
                        "seconds": 1123,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 19,
                        "seconds": 1124,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 19,
                        "seconds": 1125,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 38,
                            "away": 33
                        },
                        "time": 20,
                        "seconds": 1141,
                        "scorer": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "assists": [
                            {
                                "pid": 111,
                                "name": "D.J. Augustin"
                            }
                        ]
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 20,
                        "seconds": 1148,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 20,
                        "seconds": 1148,
                        "playerfouling": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 20,
                        "seconds": 1162,
                        "player": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 20,
                        "seconds": 1164,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 20,
                        "seconds": 1186,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 20,
                        "seconds": 1188,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 20,
                        "seconds": 1190,
                        "playerfouling": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 20,
                        "seconds": 1190,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 20,
                        "seconds": 1190,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 38,
                            "away": 34
                        },
                        "time": 20,
                        "seconds": 1190,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 40,
                            "away": 34
                        },
                        "time": 21,
                        "seconds": 1203,
                        "scorer": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "assists": []
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 21,
                        "seconds": 1218,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "reason": "lost_ball"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "home",
                        "time": 21,
                        "seconds": 1218,
                        "stealplayer": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "lostballplayer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        }
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 21,
                        "seconds": 1223,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 21,
                        "seconds": 1226,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 21,
                        "seconds": 1227,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "reason": "lost_ball"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "away",
                        "time": 21,
                        "seconds": 1227,
                        "stealplayer": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "lostballplayer": {
                            "pid": 146,
                            "name": "James Johnson"
                        }
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 40,
                            "away": 36
                        },
                        "time": 21,
                        "seconds": 1232,
                        "scorer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "assists": [
                            {
                                "pid": 135,
                                "name": "Aaron Gordon"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 42,
                            "away": 36
                        },
                        "time": 21,
                        "seconds": 1251,
                        "scorer": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "assists": [
                            {
                                "pid": 280,
                                "name": "Josh Richardson"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 22,
                        "seconds": 1263,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 22,
                        "seconds": 1267,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 22,
                        "seconds": 1271,
                        "playerfouling": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 22,
                        "seconds": 1271,
                        "playerfouling": "",
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 1,
                        "matchscore": {
                            "home": 43,
                            "away": 36
                        },
                        "time": 22,
                        "seconds": 1271,
                        "scorer": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 22,
                        "seconds": 1281,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 22,
                        "seconds": 1281,
                        "player": "",
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 22,
                        "seconds": 1281,
                        "playerfouling": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 43,
                            "away": 38
                        },
                        "time": 22,
                        "seconds": 1297,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": [
                            {
                                "pid": 111,
                                "name": "D.J. Augustin"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 22,
                        "seconds": 1309,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 22,
                        "seconds": 1312,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 22,
                        "seconds": 1317,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "reason": "lost_ball"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "home",
                        "time": 22,
                        "seconds": 1317,
                        "stealplayer": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "lostballplayer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        }
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 45,
                            "away": 38
                        },
                        "time": 23,
                        "seconds": 1322,
                        "scorer": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "assists": [
                            {
                                "pid": 251,
                                "name": "Rodney McGruder"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 45,
                            "away": 40
                        },
                        "time": 23,
                        "seconds": 1336,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 47,
                            "away": 40
                        },
                        "time": 23,
                        "seconds": 1349,
                        "scorer": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 47,
                            "away": 42
                        },
                        "time": 23,
                        "seconds": 1362,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": [
                            {
                                "pid": 331,
                                "name": "Jonathon Simmons"
                            }
                        ]
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 50,
                            "away": 42
                        },
                        "time": 23,
                        "seconds": 1379,
                        "scorer": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "assists": [
                            {
                                "pid": 264,
                                "name": "Justise Winslow"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 50,
                            "away": 44
                        },
                        "time": 24,
                        "seconds": 1395,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": [
                            {
                                "pid": 35,
                                "name": "Nikola Vucevic"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 24,
                        "seconds": 1418,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 24,
                        "seconds": 1421,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 50,
                            "away": 46
                        },
                        "time": 24,
                        "seconds": 1440,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": [
                            {
                                "pid": 331,
                                "name": "Jonathon Simmons"
                            }
                        ]
                    },
                    {
                        "name": "2nd quarter",
                        "matchevent": "quarterend",
                        "quarterscore": {
                            "home": 25,
                            "away": 19
                        },
                        "matchscore": {
                            "home": 90,
                            "away": 105,
                            "winner": "away"
                        }
                    },
                    {
                        "name": "Break",
                        "matchevent": "Break",
                        "time": "",
                        "seconds": ""
                    },
                    {
                        "name": "3rd quarter",
                        "matchevent": "quarterstart",
                        "quarter": 3
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 25,
                        "seconds": 1447,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 25,
                        "seconds": 1448,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 52,
                            "away": 46
                        },
                        "time": 25,
                        "seconds": 1464,
                        "scorer": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "assists": [
                            {
                                "pid": 244,
                                "name": "Hassan Whiteside"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 25,
                        "seconds": 1492,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 25,
                        "seconds": 1495,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 26,
                        "seconds": 1509,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 26,
                        "seconds": 1513,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 26,
                        "seconds": 1522,
                        "player": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 26,
                        "seconds": 1525,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 26,
                        "seconds": 1545,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 26,
                        "seconds": 1548,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 52,
                            "away": 48
                        },
                        "time": 26,
                        "seconds": 1555,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 55,
                            "away": 48
                        },
                        "time": 27,
                        "seconds": 1572,
                        "scorer": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 27,
                        "seconds": 1602,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 27,
                        "seconds": 1604,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 27,
                        "seconds": 1610,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 27,
                        "seconds": 1612,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 27,
                        "seconds": 1614,
                        "playerfouling": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 55,
                            "away": 49
                        },
                        "time": 27,
                        "seconds": 1614,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 55,
                            "away": 50
                        },
                        "time": 27,
                        "seconds": 1614,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 28,
                        "seconds": 1637,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 28,
                        "seconds": 1637,
                        "player": "",
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 28,
                        "seconds": 1649,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 28,
                        "seconds": 1652,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 28,
                        "seconds": 1665,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 28,
                        "seconds": 1667,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 28,
                        "seconds": 1671,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 28,
                        "seconds": 1672,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 28,
                        "seconds": 1673,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 28,
                        "seconds": 1674,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 29,
                        "seconds": 1689,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 29,
                        "seconds": 1692,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 55,
                            "away": 53
                        },
                        "time": 29,
                        "seconds": 1697,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 29,
                        "seconds": 1713,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "reason": "bad_pass"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "away",
                        "time": 29,
                        "seconds": 1713,
                        "stealplayer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "lostballplayer": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        }
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 55,
                            "away": 55
                        },
                        "time": 29,
                        "seconds": 1715,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 29,
                        "seconds": 1734,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 29,
                        "seconds": 1735,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 29,
                        "seconds": 1735,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 29,
                        "seconds": 1736,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 57,
                            "away": 55
                        },
                        "time": 29,
                        "seconds": 1738,
                        "scorer": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 30,
                        "seconds": 1758,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 30,
                        "seconds": 1758,
                        "playerblocking": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "playerblocked": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 30,
                        "seconds": 1758,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 30,
                        "seconds": 1766,
                        "playerfouling": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 30,
                        "seconds": 1774,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "reason": "bad_pass"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "away",
                        "time": 30,
                        "seconds": 1774,
                        "stealplayer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "lostballplayer": {
                            "pid": 146,
                            "name": "James Johnson"
                        }
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 30,
                        "seconds": 1779,
                        "playerfouling": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 30,
                        "seconds": 1791,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 30,
                        "seconds": 1793,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 31,
                        "seconds": 1801,
                        "playerfouling": {
                            "pid": 331,
                            "name": "Jonathon Simmons"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 31,
                        "seconds": 1801,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 31,
                        "seconds": 1801,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 31,
                        "seconds": 1801,
                        "player": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 31,
                        "seconds": 1804,
                        "player": {
                            "pid": 251,
                            "name": "Rodney McGruder"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 31,
                        "seconds": 1806,
                        "player": {
                            "pid": 4,
                            "name": "Wayne Ellington"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 31,
                        "seconds": 1810,
                        "player": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 57,
                            "away": 58
                        },
                        "time": 31,
                        "seconds": 1821,
                        "scorer": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 31,
                        "seconds": 1844,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 31,
                        "seconds": 1847,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 31,
                        "seconds": 1853,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 31,
                        "seconds": 1853,
                        "playerblocking": {
                            "pid": 244,
                            "name": "Hassan Whiteside"
                        },
                        "playerblocked": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 31,
                        "seconds": 1853,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 57,
                            "away": 60
                        },
                        "time": 31,
                        "seconds": 1859,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": [
                            {
                                "pid": 111,
                                "name": "D.J. Augustin"
                            }
                        ]
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 60,
                            "away": 60
                        },
                        "time": 32,
                        "seconds": 1881,
                        "scorer": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "assists": [
                            {
                                "pid": 149,
                                "name": "Dwyane Wade"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 60,
                            "away": 62
                        },
                        "time": 32,
                        "seconds": 1908,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 33,
                        "seconds": 1938,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 33,
                        "seconds": 1941,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 60,
                            "away": 65
                        },
                        "time": 33,
                        "seconds": 1947,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 33,
                        "seconds": 1960,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 33,
                        "seconds": 1962,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 33,
                        "seconds": 1965,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 33,
                        "seconds": 1969,
                        "player": {
                            "pid": 146,
                            "name": "James Johnson"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 34,
                        "seconds": 1988,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 34,
                        "seconds": 1990,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 60,
                            "away": 67
                        },
                        "time": 34,
                        "seconds": 2003,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": [
                            {
                                "pid": 35,
                                "name": "Nikola Vucevic"
                            }
                        ]
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 34,
                        "seconds": 2015,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "reason": "lost_ball"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 34,
                        "seconds": 2015,
                        "playerfouling": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 60,
                            "away": 69
                        },
                        "time": 34,
                        "seconds": 2033,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 62,
                            "away": 69
                        },
                        "time": 35,
                        "seconds": 2056,
                        "scorer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 62,
                            "away": 71
                        },
                        "time": 35,
                        "seconds": 2075,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": [
                            {
                                "pid": 135,
                                "name": "Aaron Gordon"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 35,
                        "seconds": 2086,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 35,
                        "seconds": 2089,
                        "player": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 62,
                            "away": 73
                        },
                        "time": 35,
                        "seconds": 2096,
                        "scorer": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 36,
                        "seconds": 2114,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 36,
                        "seconds": 2117,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 36,
                        "seconds": 2125,
                        "player": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 36,
                        "seconds": 2129,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 36,
                        "seconds": 2129,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 62,
                            "away": 76
                        },
                        "time": 36,
                        "seconds": 2150,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 36,
                        "seconds": 2159,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 36,
                        "seconds": 2160,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "3rd quarter",
                        "matchevent": "quarterend",
                        "quarterscore": {
                            "home": 12,
                            "away": 30
                        },
                        "matchscore": {
                            "home": 90,
                            "away": 105,
                            "winner": "away"
                        }
                    },
                    {
                        "name": "Break",
                        "matchevent": "Break",
                        "time": "",
                        "seconds": ""
                    },
                    {
                        "name": "4th quarter",
                        "matchevent": "quarterstart",
                        "quarter": 4
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 37,
                        "seconds": 2176,
                        "player": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "away",
                        "time": 37,
                        "seconds": 2176,
                        "playerblocking": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "playerblocked": {
                            "pid": 182,
                            "name": "Tyler Johnson"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 37,
                        "seconds": 2177,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 64,
                            "away": 76
                        },
                        "time": 37,
                        "seconds": 2180,
                        "scorer": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 37,
                        "seconds": 2194,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 37,
                        "seconds": 2194,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 37,
                        "seconds": 2210,
                        "player": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 37,
                        "seconds": 2212,
                        "player": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 37,
                        "seconds": 2214,
                        "player": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 37,
                        "seconds": 2214,
                        "player": "",
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 38,
                        "seconds": 2234,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 38,
                        "seconds": 2236,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 66,
                            "away": 76
                        },
                        "time": 38,
                        "seconds": 2238,
                        "scorer": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 38,
                        "seconds": 2255,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 38,
                        "seconds": 2258,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 38,
                        "seconds": 2267,
                        "playerfouling": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 38,
                        "seconds": 2275,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 38,
                        "seconds": 2278,
                        "player": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 66,
                            "away": 79
                        },
                        "time": 39,
                        "seconds": 2284,
                        "scorer": {
                            "pid": 274,
                            "name": "Jerian Grant"
                        },
                        "assists": [
                            {
                                "pid": 117,
                                "name": "Terrence Ross"
                            }
                        ]
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 69,
                            "away": 79
                        },
                        "time": 39,
                        "seconds": 2296,
                        "scorer": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "assists": [
                            {
                                "pid": 264,
                                "name": "Justise Winslow"
                            }
                        ]
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 39,
                        "seconds": 2313,
                        "playerfouling": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 69,
                            "away": 81
                        },
                        "time": 39,
                        "seconds": 2327,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": []
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 72,
                            "away": 81
                        },
                        "time": 40,
                        "seconds": 2345,
                        "scorer": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "assists": [
                            {
                                "pid": 149,
                                "name": "Dwyane Wade"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 40,
                        "seconds": 2368,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "points": 2
                    },
                    {
                        "name": "Block",
                        "matchevent": "block",
                        "team": "home",
                        "time": 40,
                        "seconds": 2368,
                        "playerblocking": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "playerblocked": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        }
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 40,
                        "seconds": 2370,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 40,
                        "seconds": 2370,
                        "player": "",
                        "reason": "shot_clock_violation"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 75,
                            "away": 81
                        },
                        "time": 40,
                        "seconds": 2384,
                        "scorer": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "assists": [
                            {
                                "pid": 149,
                                "name": "Dwyane Wade"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 75,
                            "away": 83
                        },
                        "time": 41,
                        "seconds": 2402,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": [
                            {
                                "pid": 536,
                                "name": "Jonathan Isaac"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 77,
                            "away": 83
                        },
                        "time": 41,
                        "seconds": 2418,
                        "scorer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "assists": [
                            {
                                "pid": 182,
                                "name": "Tyler Johnson"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 77,
                            "away": 85
                        },
                        "time": 41,
                        "seconds": 2447,
                        "scorer": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "assists": [
                            {
                                "pid": 274,
                                "name": "Jerian Grant"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 41,
                        "seconds": 2460,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 42,
                        "seconds": 2465,
                        "player": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 42,
                        "seconds": 2465,
                        "playerfouling": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 42,
                        "seconds": 2465,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 42,
                        "seconds": 2465,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 42,
                        "seconds": 2465,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 42,
                        "seconds": 2468,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 42,
                        "seconds": 2485,
                        "playerfouling": {
                            "pid": 241,
                            "name": "Evan Fournier"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 42,
                        "seconds": 2490,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 42,
                        "seconds": 2493,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 42,
                        "seconds": 2495,
                        "player": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 42,
                        "seconds": 2495,
                        "playerfouling": {
                            "pid": 638,
                            "name": "Mo Bamba"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 42,
                        "seconds": 2514,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 42,
                        "seconds": 2515,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 79,
                            "away": 85
                        },
                        "time": 42,
                        "seconds": 2516,
                        "scorer": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "assists": []
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 43,
                        "seconds": 2538,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "reason": "bad_pass"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "home",
                        "time": 43,
                        "seconds": 2538,
                        "stealplayer": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "lostballplayer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        }
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 43,
                        "seconds": 2540,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "reason": "unknown"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 43,
                        "seconds": 2554,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 43,
                        "seconds": 2558,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 79,
                            "away": 87
                        },
                        "time": 43,
                        "seconds": 2561,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 44,
                        "seconds": 2582,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 44,
                        "seconds": 2584,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 44,
                        "seconds": 2592,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 44,
                        "seconds": 2593,
                        "player": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 44,
                        "seconds": 2602,
                        "playerfouling": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 44,
                        "seconds": 2602,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 1
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 44,
                        "seconds": 2602,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 79,
                            "away": 88
                        },
                        "time": 44,
                        "seconds": 2602,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 44,
                        "seconds": 2614,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 44,
                        "seconds": 2617,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 44,
                        "seconds": 2630,
                        "player": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 44,
                        "seconds": 2632,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 82,
                            "away": 88
                        },
                        "time": 44,
                        "seconds": 2636,
                        "scorer": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "assists": [
                            {
                                "pid": 280,
                                "name": "Josh Richardson"
                            }
                        ]
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 2,
                        "matchscore": {
                            "home": 82,
                            "away": 90
                        },
                        "time": 45,
                        "seconds": 2664,
                        "scorer": {
                            "pid": 35,
                            "name": "Nikola Vucevic"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 45,
                        "seconds": 2687,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 45,
                        "seconds": 2688,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 45,
                        "seconds": 2688,
                        "player": "",
                        "reason": "shot_clock_violation"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 45,
                        "seconds": 2694,
                        "playerfouling": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 82,
                            "away": 91
                        },
                        "time": 45,
                        "seconds": 2694,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": []
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 82,
                            "away": 92
                        },
                        "time": 45,
                        "seconds": 2694,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": []
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 82,
                            "away": 93
                        },
                        "time": 45,
                        "seconds": 2694,
                        "scorer": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 46,
                        "seconds": 2706,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 46,
                        "seconds": 2707,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 46,
                        "seconds": 2709,
                        "playerfouling": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "away",
                        "time": 46,
                        "seconds": 2711,
                        "playerfouling": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 46,
                        "seconds": 2722,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 46,
                        "seconds": 2725,
                        "player": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 85,
                            "away": 93
                        },
                        "time": 46,
                        "seconds": 2735,
                        "scorer": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "assists": [
                            {
                                "pid": 280,
                                "name": "Josh Richardson"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "away",
                        "time": 47,
                        "seconds": 2762,
                        "player": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 47,
                        "seconds": 2763,
                        "player": "",
                        "type": "offensive"
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 47,
                        "seconds": 2764,
                        "playerfouling": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 85,
                            "away": 94
                        },
                        "time": 47,
                        "seconds": 2764,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": []
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 85,
                            "away": 95
                        },
                        "time": 47,
                        "seconds": 2764,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 47,
                        "seconds": 2775,
                        "player": {
                            "pid": 280,
                            "name": "Josh Richardson"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 47,
                        "seconds": 2778,
                        "player": {
                            "pid": 135,
                            "name": "Aaron Gordon"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 85,
                            "away": 98
                        },
                        "time": 47,
                        "seconds": 2783,
                        "scorer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "assists": [
                            {
                                "pid": 117,
                                "name": "Terrence Ross"
                            }
                        ]
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 47,
                        "seconds": 2791,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "points": 3
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "home",
                        "time": 47,
                        "seconds": 2793,
                        "player": {
                            "pid": 79,
                            "name": "Kelly Olynyk"
                        },
                        "type": "offensive"
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 3,
                        "matchscore": {
                            "home": 88,
                            "away": 98
                        },
                        "time": 47,
                        "seconds": 2797,
                        "scorer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "assists": [
                            {
                                "pid": 79,
                                "name": "Kelly Olynyk"
                            }
                        ]
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 47,
                        "seconds": 2806,
                        "playerfouling": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 88,
                            "away": 99
                        },
                        "time": 47,
                        "seconds": 2806,
                        "scorer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "assists": []
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 88,
                            "away": 100
                        },
                        "time": 47,
                        "seconds": 2806,
                        "scorer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "assists": []
                    },
                    {
                        "name": "2 pt scored",
                        "matchevent": "basket",
                        "team": "home",
                        "points": 2,
                        "matchscore": {
                            "home": 90,
                            "away": 100
                        },
                        "time": 47,
                        "seconds": 2810,
                        "scorer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "assists": []
                    },
                    {
                        "name": "3 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 3,
                        "matchscore": {
                            "home": 90,
                            "away": 103
                        },
                        "time": 48,
                        "seconds": 2834,
                        "scorer": {
                            "pid": 111,
                            "name": "D.J. Augustin"
                        },
                        "assists": [
                            {
                                "pid": 135,
                                "name": "Aaron Gordon"
                            }
                        ]
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "home",
                        "time": 48,
                        "seconds": 2839,
                        "player": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        },
                        "reason": "bad_pass"
                    },
                    {
                        "name": "Steal",
                        "matchevent": "stealbasket",
                        "team": "away",
                        "time": 48,
                        "seconds": 2839,
                        "stealplayer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "lostballplayer": {
                            "pid": 149,
                            "name": "Dwyane Wade"
                        }
                    },
                    {
                        "name": "Foul",
                        "matchevent": "foul",
                        "team": "home",
                        "time": 48,
                        "seconds": 2840,
                        "playerfouling": {
                            "pid": 264,
                            "name": "Justise Winslow"
                        },
                        "playerfouled": ""
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 90,
                            "away": 104
                        },
                        "time": 48,
                        "seconds": 2840,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": []
                    },
                    {
                        "name": "1 pt scored",
                        "matchevent": "basket",
                        "team": "away",
                        "points": 1,
                        "matchscore": {
                            "home": 90,
                            "away": 105
                        },
                        "time": 48,
                        "seconds": 2840,
                        "scorer": {
                            "pid": 536,
                            "name": "Jonathan Isaac"
                        },
                        "assists": []
                    },
                    {
                        "name": "failed attempt",
                        "matchevent": "failedattempt",
                        "team": "home",
                        "time": 48,
                        "seconds": 2855,
                        "player": {
                            "pid": 526,
                            "name": "Bam Adebayo"
                        },
                        "points": 2
                    },
                    {
                        "name": "Rebound",
                        "matchevent": "rebound",
                        "team": "away",
                        "time": 48,
                        "seconds": 2858,
                        "player": {
                            "pid": 117,
                            "name": "Terrence Ross"
                        },
                        "type": "defensive"
                    },
                    {
                        "name": "Turnover",
                        "matchevent": "turnoverbasket",
                        "team": "away",
                        "time": 48,
                        "seconds": 2879,
                        "player": "",
                        "reason": "shot_clock_violation"
                    },
                    {
                        "name": "4th quarter",
                        "matchevent": "quarterend",
                        "quarterscore": {
                            "home": 28,
                            "away": 29
                        },
                        "matchscore": {
                            "home": 90,
                            "away": 105,
                            "winner": "away"
                        }
                    },
                    {
                        "name": "Full Time",
                        "matchevent": "Ended",
                        "quarterscore": {
                            "home": 90,
                            "away": 105
                        },
                        "matchscore": {
                            "home": 90,
                            "away": 105,
                            "winner": "away"
                        }
                    },
                    {
                        "name": "Match end",
                        "matchevent": "Ended",
                        "matchscore": {
                            "home": 90,
                            "away": 105,
                            "winner": "away"
                        }
                    }
                ]
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "e4126b82b61a887d5cf0e17b3599284e",
        "modified": "2019-01-16 15:45:10",
        "datetime": "2019-01-16 15:45:10",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match projection, events, commentary, lineup details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    lineup array An array of match lineup details. see lineup object reference
    pre_match_odds array An array odds details.
    event array An array of match event details. see event object reference

    Match Info Object Reference

    Parameter Value Description
    mid integer match id
    round array An array of match round details. see round object reference
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart integer timestamp of match start time
    timestampend integer timestamp of match end time
    time integer match running time in minutes
    result array An array of match result details. see result object reference
    quarters array An array of match quarters wise details. see quarters object reference
    status_str string Match status string live, result, upcoming
    status integer Match status code 3 = live, 2 = result, 1 = upcoming
    gamestate_str string Match state string
    gamestate integer Match state code
    attendance integer total spectator attendance of the match
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Round Object Reference

    Parameter Value Description
    round string round
    name string round

    Result Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url
    fullname string team full name
    abbr string shortname team name

    Period Object Reference

    Parameter Value Description
    q1 array An array of team score details in period 1. see p1 object reference
    q2 array An array of team score details in period 2. see p2 object reference
    q3 array An array of team score details in period 2. see p2 object reference
    q4 array An array of team score details in period 2. see p2 object reference
    ft array An array of team score details after full time. see ft object reference

    q1/q2/q3/q4/ft Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string venue location
    founded integer year venue founded
    capacity integer capacity of stadium

    Lineup Object Reference

    Parameter Value Description
    player array array of starting players details. see lineup player object reference
    substitutes array array of substitutes players details. see lineup player object reference

    Lineup Player/Substitutes Object Reference

    Parameter Value Description
    home array array of home team lineup and substitute player object details. see home team lineup player object reference
    away array array of away team lineup and substitute player object details. see away team lineup player object reference

    Player Object Reference

    Parameter Value Description
    pid integer player id
    name string player position name
    shirt string player shirt number
    positiontype string player position type
    positionname string player position name
    primaryposition string player primary playing position
    primarypositionname string player primary playing position name

    Match Event Object Reference

    Parameter Value Description
    name string event name
    matchevent string event type
    team string event team type
    time integer time of event during game play in minute
    seconds integer time of event during game play in seconds
    name string event name
    player array an array of player details
    points integer points scored value
    matchscore array an array of match score details of both teams
    assist array array of player details which assisted
    scorer integer an array of player details

    Match Stats API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/matches/470/stats?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": 313,
                    "round": {
                        "round": "1",
                        "name": "1"
                    },
                    "teams": {
                        "home": {
                            "tid": 27,
                            "tname": "Miami",
                            "logo": "https://basketball.entitysport.com/assets/team/miami.png",
                            "fullname": "Miami Heat",
                            "abbr": "MIA"
                        },
                        "away": {
                            "tid": 29,
                            "tname": "Orlando",
                            "logo": "https://basketball.entitysport.com/assets/team/miami.png",
                            "fullname": "Orlando Magic",
                            "abbr": "ORL"
                        }
                    },
                    "datestart": "2018-12-05 00:30:00",
                    "dateend": "2018-12-05 02:45:06",
                    "timestampstart": "1543969800",
                    "timestampend": "1543977906",
                    "time": 48,
                    "result": {
                        "home": 90,
                        "away": 105,
                        "winner": "away"
                    },
                    "quarters": {
                        "q1": {
                            "home": 25,
                            "away": 27
                        },
                        "q2": {
                            "home": 25,
                            "away": 19
                        },
                        "q3": {
                            "home": 12,
                            "away": 30
                        },
                        "q4": {
                            "home": 28,
                            "away": 29
                        },
                        "ft": {
                            "home": 90,
                            "away": 105
                        }
                    },
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 7,
                    "attendance": 19600,
                    "competition": {
                        "cid": 1,
                        "cname": "NBA",
                        "startdate": "2018-10-16 00:00:00",
                        "enddate": "2019-07-01 23:59:59",
                        "startdatetimestamp": 1539648000,
                        "endtdatetimestamp": 1562025599,
                        "year": "18/19",
                        "category": "USA",
                        "ioc_id": "226",
                        "ioc": "us",
                        "status": 3,
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": 27,
                        "name": "American Airlines Arena",
                        "location": "Miami, USA",
                        "founded": "",
                        "capacity": "19600"
                    }
                },
                "match_projection": [
                    {
                        "time": 1,
                        "value": 2
                    },
                    {
                        "time": 2,
                        "value": -1
                    },
                    {
                        "time": 3,
                        "value": -2
                    },
                    {
                        "time": 4,
                        "value": 3
                    },
                    {
                        "time": 5,
                        "value": 2
                    },
                    {
                        "time": 6,
                        "value": -1
                    },
                    {
                        "time": 7,
                        "value": 0
                    },
                    {
                        "time": 8,
                        "value": 1
                    },
                    {
                        "time": 9,
                        "value": -2
                    }
                ],
                "team_stats": {
                    "ALL": [
                        {
                            "name": "free throws attempt",
                            "home": {
                                "freethrowsattempt": "5",
                                "freethrowssuccess": "2",
                                "freethrowsfailed": "3",
                                "freethrowssuccessrate": "40"
                            },
                            "away": {
                                "freethrowsattempt": "20",
                                "freethrowssuccess": "15",
                                "freethrowsfailed": "5",
                                "freethrowssuccessrate": "75"
                            }
                        },
                        {
                            "name": "two pointer",
                            "home": {
                                "twopointerattempt": "56",
                                "twopointersuccess": "26",
                                "twopointerfailed": "30",
                                "twopointersuccessrate": "46"
                            },
                            "away": {
                                "twopointerattempt": "58",
                                "twopointersuccess": "24",
                                "twopointerfailed": "34",
                                "twopointersuccessrate": "41"
                            }
                        },
                        {
                            "name": "three pointer",
                            "home": {
                                "threepointerattempt": "35",
                                "threepointersuccess": "12",
                                "threepointesfailed": "23",
                                "threepointersuccessrate": "34"
                            },
                            "away": {
                                "threepointerattempt": "28",
                                "threepointersuccess": "14",
                                "threepointerfailed": "14",
                                "threepointersuccessrate": "50"
                            }
                        },
                        {
                            "name": "field basket",
                            "home": {
                                "fieldbasketattempt": "91",
                                "fieldbasketsuccess": "38",
                                "fieldbasketfailed": "53",
                                "fieldbasketsuccessrate": "42"
                            },
                            "away": {
                                "fieldbasketattempt": "86",
                                "fieldbasketsuccess": "38",
                                "fieldbasketfailed": "48",
                                "fieldbasketsuccessrate": "44"
                            }
                        },
                        {
                            "name": "rebounds",
                            "home": "53",
                            "away": "56"
                        },
                        {
                            "name": "biggest lead",
                            "home": "8",
                            "away": "15"
                        },
                        {
                            "name": "lead changes",
                            "home": "4",
                            "away": "4"
                        },
                        {
                            "name": "successful attempts",
                            "home": "40",
                            "away": "53"
                        },
                        {
                            "name": "time spent in lead",
                            "home": "1314",
                            "away": "1381"
                        },
                        {
                            "name": "max points in a row",
                            "home": "9",
                            "away": "9"
                        },
                        {
                            "name": "time outs",
                            "home": "6",
                            "away": "4"
                        },
                        {
                            "name": "total foul",
                            "home": "19",
                            "away": "14"
                        },
                        {
                            "name": "ball possession",
                            "home": "51",
                            "away": "49"
                        },
                        {
                            "name": "assists",
                            "home": "19",
                            "away": "22"
                        },
                        {
                            "name": "defensive rebounds",
                            "home": "31",
                            "away": "32"
                        },
                        {
                            "name": "offensive rebounds",
                            "home": "17",
                            "away": "11"
                        },
                        {
                            "name": "turn overs",
                            "home": "15",
                            "away": "11"
                        },
                        {
                            "name": "steals",
                            "home": "7",
                            "away": "5"
                        },
                        {
                            "name": "blocks",
                            "home": "4",
                            "away": "11"
                        }
                    ],
                    "Q1": [
                        {
                            "name": "rebounds",
                            "home": "15",
                            "away": "13"
                        },
                        {
                            "name": "biggest lead",
                            "home": "5",
                            "away": "5"
                        },
                        {
                            "name": "lead changes",
                            "home": "3",
                            "away": "3"
                        },
                        {
                            "name": "successful attempts",
                            "home": "12",
                            "away": "11"
                        },
                        {
                            "name": "time spent in lead",
                            "home": "299",
                            "away": "279"
                        },
                        {
                            "name": "max points in a row",
                            "home": "9",
                            "away": "8"
                        },
                        {
                            "name": "timeouts",
                            "home": "1",
                            "away": "1"
                        },
                        {
                            "name": "fouls current period",
                            "home": "4",
                            "away": "2"
                        },
                        {
                            "name": "ball possession",
                            "home": "48",
                            "away": "52"
                        },
                        {
                            "name": "free throws attempt",
                            "home": {
                                "freethrowsattempt": "2",
                                "freethrowssuccess": "1",
                                "freethrowsfailed": "1",
                                "freethrowssuccessrate": "50"
                            },
                            "away": {
                                "freethrowsattempt": "1",
                                "freethrowssuccess": "1",
                                "freethrowsfailed": "0",
                                "freethrowssuccessrate": "100"
                            }
                        },
                        {
                            "name": "two pointer",
                            "home": {
                                "twopointerattempt": "17",
                                "twopointersuccess": "9",
                                "twopointerfailed": "8",
                                "twopointersuccessrate": "53"
                            },
                            "away": {
                                "twopointerattempt": "19",
                                "twopointersuccess": "4",
                                "twopointerfailed": "15",
                                "twopointersuccessrate": "21"
                            }
                        },
                        {
                            "name": "three pointer",
                            "home": {
                                "threepointerattempt": "4",
                                "threepointersuccess": "2",
                                "threepointerfailed": "2",
                                "threepointersuccessrate": "50"
                            },
                            "away": {
                                "threepointerattempt": "8",
                                "threepointersuccess": "6",
                                "threepointerfailed": "2",
                                "threepointersuccessrate": "75"
                            }
                        }
                    ],
                    "Q2": [
                        {
                            "name": "rebounds",
                            "home": "12",
                            "away": "13"
                        },
                        {
                            "name": "biggest lead",
                            "home": "8",
                            "away": "0"
                        },
                        {
                            "name": "lead changes",
                            "home": "1",
                            "away": "0"
                        },
                        {
                            "name": "successful attempts",
                            "home": "12",
                            "away": "10"
                        },
                        {
                            "name": "time spent in lead",
                            "home": "657",
                            "away": "110"
                        },
                        {
                            "name": "max points in a row",
                            "home": "6",
                            "away": "4"
                        },
                        {
                            "name": "timeouts",
                            "home": "1",
                            "away": "1"
                        },
                        {
                            "name": "fouls current period",
                            "home": "5",
                            "away": "5"
                        },
                        {
                            "name": "ball possession",
                            "home": "50",
                            "away": "50"
                        },
                        {
                            "name": "free throws attempt",
                            "home": {
                                "freethrowsattempt": "1",
                                "freethrowssuccess": "1",
                                "freethrowsfailed": "0",
                                "freethrowssuccessrate": "100"
                            },
                            "away": {
                                "freethrowsattempt": "4",
                                "freethrowssuccess": "2",
                                "freethrowsfailed": "2",
                                "freethrowssuccessrate": "50"
                            }
                        },
                        {
                            "name": "two pointer",
                            "home": {
                                "twopointerattempt": "15",
                                "twopointersuccess": "9",
                                "twopointerfailed": "6",
                                "twopointersuccessrate": "60"
                            },
                            "away": {
                                "twopointerattempt": "16",
                                "twopointersuccess": "7",
                                "twopointerfailed": "9",
                                "twopointersuccessrate": "44"
                            }
                        },
                        {
                            "name": "three pointer",
                            "home": {
                                "threepointerattempt": "9",
                                "threepointersuccess": "2",
                                "threepointerfailed": "7",
                                "threepointersuccessrate": "22"
                            },
                            "away": {
                                "threepointerattempt": "2",
                                "threepointersuccess": "1",
                                "threepointerfailed": "1",
                                "threepointersuccessrate": "50"
                            }
                        }
                    ],
                    "Q3": [
                        {
                            "name": "rebounds",
                            "home": "15",
                            "away": "15"
                        },
                        {
                            "name": "biggest lead",
                            "home": "7",
                            "away": "14"
                        },
                        {
                            "name": "successful attempts",
                            "home": "5",
                            "away": "14"
                        },
                        {
                            "name": "time spent in lead",
                            "home": "358",
                            "away": "302"
                        },
                        {
                            "name": "max points in a row",
                            "home": "3",
                            "away": "9"
                        },
                        {
                            "name": "timeouts",
                            "home": "2",
                            "away": "0"
                        },
                        {
                            "name": "fouls current period",
                            "home": "3",
                            "away": "2"
                        },
                        {
                            "name": "ball possession",
                            "home": "57",
                            "away": "43"
                        },
                        {
                            "name": "free throws attempt",
                            "home": {
                                "freethrowsattempt": "2",
                                "freethrowssuccess": "0",
                                "freethrowsfailed": "2",
                                "freethrowssuccessrate": "0"
                            },
                            "away": {
                                "freethrowsattempt": "2",
                                "freethrowssuccess": "2",
                                "freethrowsfailed": "0",
                                "freethrowssuccessrate": "100"
                            }
                        },
                        {
                            "name": "two pointer",
                            "home": {
                                "twopointerattempt": "12",
                                "twopointersuccess": "3",
                                "twopointerfailed": "9",
                                "twopointersuccessrate": "25"
                            },
                            "away": {
                                "twopointerattempt": "15",
                                "twopointersuccess": "8",
                                "twopointerfailed": "7",
                                "twopointersuccessrate": "53"
                            }
                        },
                        {
                            "name": "three pointer",
                            "home": {
                                "threepointerattempt": "9",
                                "threepointersuccess": "2",
                                "threepointerfailed": "7",
                                "threepointersuccessrate": "22"
                            },
                            "away": {
                                "threepointerattempt": "9",
                                "threepointersuccess": "4",
                                "threepointerfailed": "5",
                                "threepointersuccessrate": "44"
                            }
                        }
                    ],
                    "Q4": [
                        {
                            "name": "rebounds",
                            "home": "11",
                            "away": "15"
                        },
                        {
                            "name": "successful attempts",
                            "home": "11",
                            "away": "18"
                        },
                        {
                            "name": "max points in a row",
                            "home": "6",
                            "away": "5"
                        },
                        {
                            "name": "timeouts",
                            "home": "2",
                            "away": "2"
                        },
                        {
                            "name": "fouls current period",
                            "home": "7",
                            "away": "5"
                        },
                        {
                            "name": "ball possession",
                            "home": "48",
                            "away": "52"
                        },
                        {
                            "name": "free throws attempt",
                            "home": {
                                "freethrowsattempt": "0",
                                "freethrowssuccess": "0",
                                "freethrowsfailed": "0",
                                "freethrowssuccessrate": "0"
                            },
                            "away": {
                                "freethrowsattempt": "13",
                                "freethrowssuccess": "10",
                                "freethrowsfailed": "3",
                                "freethrowssuccessrate": "77"
                            }
                        },
                        {
                            "name": "two pointer",
                            "home": {
                                "twopointerattempt": "12",
                                "twopointersuccess": "5",
                                "twopointerfailed": "7",
                                "twopointersuccessrate": "0"
                            },
                            "away": {
                                "twopointerattempt": "8",
                                "twopointersuccess": "5",
                                "twopointerfailed": "3",
                                "twopointersuccessrate": "77"
                            }
                        },
                        {
                            "name": "three pointer",
                            "home": {
                                "threepointerattempt": "13",
                                "threepointersuccess": "6",
                                "threepointerfailed": "7",
                                "threepointersuccessrate": "0"
                            },
                            "away": {
                                "threepointerattempt": "9",
                                "threepointersuccess": "3",
                                "threepointerfailed": "6",
                                "threepointersuccessrate": "77"
                            }
                        }
                    ]
                },
                "match_player_stats": {
                    "home": [
                        {
                            "pid": 146,
                            "teamtype": "home",
                            "rebound": 4,
                            "offensive": 1,
                            "defensive": 3,
                            "assists": 1,
                            "turnovers": 3,
                            "steals": 1,
                            "blocks": 0,
                            "personalfouls": 3,
                            "points": 11,
                            "freethrowssuccess": 0,
                            "2pointerssuccess": 4,
                            "3pointerssuccess": 1,
                            "fieldpointsuccess": 5,
                            "freethrowsfailed": 0,
                            "2pointersfailed": 1,
                            "3pointersfailed": 2,
                            "fieldpointfailed": 3,
                            "freethrowstotal": 0,
                            "2pointerstotal": 5,
                            "3pointerstotal": 3,
                            "fieldpointtotal": 8,
                            "name": "James Johnson",
                            "minute": 20,
                            "second": 1218,
                            "pir": -9
                        },
                        {
                            "pid": 244,
                            "teamtype": "home",
                            "rebound": 10,
                            "offensive": 3,
                            "defensive": 7,
                            "assists": 1,
                            "turnovers": 1,
                            "steals": 1,
                            "blocks": 3,
                            "personalfouls": 1,
                            "points": 12,
                            "freethrowssuccess": 0,
                            "2pointerssuccess": 6,
                            "3pointerssuccess": 0,
                            "fieldpointsuccess": 6,
                            "freethrowsfailed": 2,
                            "2pointersfailed": 1,
                            "3pointersfailed": 0,
                            "fieldpointfailed": 1,
                            "freethrowstotal": 2,
                            "2pointerstotal": 7,
                            "3pointerstotal": 0,
                            "fieldpointtotal": 7,
                            "name": "Hassan Whiteside",
                            "minute": 25,
                            "second": 1491,
                            "pir": -9
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "a62d23cf69b6c417682e66b4dbfd8fca",
        "modified": "2019-01-23 05:53:41",
        "datetime": "2019-01-23 05:53:41",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match team and player stats details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    match_projection array An array of match trend based on the real time score. see match projection object reference
    team_stats array An array of team match statistic details. see team match statistic object reference
    match_player_stats array An array of player match statistic details. see player match statistic object reference

    Match Projection Object Reference

    Parameter Value Description
    time integer time of the match in minutes
    value integer (+) means home team is leading, (-) away team is leading

    Match Team Stats Object Reference

    Parameter Value Description
    ALL array an array of team stats combined of all quarters see ALL statistic object reference
    Q1 array an array of team stats for 1st quarter see Q1 statistic object reference
    Q2 array an array of team stats for 2nd quarter see Q2 statistic object reference
    Q3 array an array of team stats for 3rd quarter see Q3 statistic object reference
    Q4 array an array of team stats for 4th quarter see Q4 statistic object reference

    ALL Stats Object Reference

    Parameter Value Description
    name string stats type name
    home array array of home team stats details.
    away array array of away team stats details.

    Q1/Q2/Q3/Q4 Stats Object Reference

    Parameter Value Description
    name string stats type name
    home string statistic value of home team
    away string statistic value of away team

    Player Match Statistics Reference

    Parameter Value Description
    home array array of home team player stats details. see player statistic object reference
    away array array of away team player stats details. see player statistic object reference

    Player Match Statistics Reference

    Parameter Value Description
    pid integer player id
    name string player name
    teamtype string team name type details
    rebound integer player rebound stats details.
    offensive integer player offensive rebound stats details.
    defensive integer player defensive rebound stats details.
    assists integer player assists stats details.
    turnovers integer player turnovers stats details.
    steals integer player steals stats details.
    blocks integer player blocks stats details.
    personalfouls integer player personal fouls stats details.
    points integer player points stats details.
    freethrowssuccess integer player free throws success stats details.
    2pointerssuccess integer player 2pointers success stats details.
    3pointerssuccess integer player 3pointers success stats details.
    fieldpointsuccess integer player field point success stats details.
    freethrowsfailed integer player free throws failed stats details.
    2pointersfailed integer player 2pointers failed stats details.
    3pointersfailed integer player 3pointers failed stats details.
    fieldpointfailed integer player field point failed stats details.
    freethrowstotal integer player free throws total stats details.
    2pointerstotal integer player 2pointers total stats details.
    3pointerstotal integer player 3pointers total stats details.
    fieldpointtotal integer player field point total stats details.
    minute integer time played by the player in the match in minutes.
    second integer time played by the player in the match in seconds.
    pir integer player Performance Index Rating.

    Match Fantasy API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/matches/10661/fantasy?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": 10661,
                    "round": {
                        "round": "134",
                        "name": "NBA Finals"
                    },
                    "teams": {
                        "home": {
                            "tid": 20,
                            "tname": "Golden State",
                            "logo": "https://basketball.entitysport.com/assets/team/goldenstate.png",
                            "fullname": "Golden State Warriors",
                            "abbr": "GSW"
                        },
                        "away": {
                            "tid": 25,
                            "tname": "Toronto",
                            "logo": "https://basketball.entitysport.com/assets/team/goldenstate.png",
                            "fullname": "Toronto Raptors",
                            "abbr": "TOR"
                        }
                    },
                    "datestart": "2019-06-14 01:00:00",
                    "dateend": "2019-06-14 03:54:51",
                    "timestampstart": "1560474000",
                    "timestampend": "1560484491",
                    "time": 48,
                    "result": {
                        "home": 110,
                        "away": 114,
                        "winner": "away"
                    },
                    "quarters": {
                        "q1": {
                            "home": 32,
                            "away": 33
                        },
                        "q2": {
                            "home": 25,
                            "away": 27
                        },
                        "q3": {
                            "home": 31,
                            "away": 26
                        },
                        "q4": {
                            "home": 22,
                            "away": 28
                        },
                        "ft": {
                            "home": 110,
                            "away": 114
                        }
                    },
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 7,
                    "attendance": 19596,
                    "competition": {
                        "cid": 1,
                        "cname": "NBA",
                        "startdate": "2018-10-16 00:00:00",
                        "enddate": "2019-07-01 23:59:59",
                        "startdatetimestamp": 1539648000,
                        "endtdatetimestamp": 1562025599,
                        "year": "18/19",
                        "category": "USA",
                        "ioc_id": "226",
                        "ioc": "us",
                        "status": 2,
                        "status_str": "completed",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": 20,
                        "name": "Oracle Arena",
                        "location": "Oakland, USA",
                        "founded": "",
                        "capacity": "19596"
                    }
                },
                "teams": {
                    "home": [
                        {
                            "pid": 179,
                            "name": "Draymond Green",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "primaryposition": "PF",
                            "primarypositionname": "Power forward",
                            "fantasy_player_rating": 6.5
                        },
                        {
                            "pid": 38,
                            "name": "Klay Thompson",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "SG",
                            "primarypositionname": "Shooting guard",
                            "fantasy_player_rating": 17.5
                        },
                        {
                            "pid": 197,
                            "name": "Stephen Curry",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "PG",
                            "primarypositionname": "Point guard",
                            "fantasy_player_rating": 23.5
                        },
                        {
                            "pid": 1359,
                            "name": "Jacob Evans",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "SG",
                            "primarypositionname": "Shooting guard",
                            "fantasy_player_rating": 4
                        },
                        {
                            "pid": 1371,
                            "name": "Damion Lee",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "SG",
                            "primarypositionname": "Shooting guard",
                            "fantasy_player_rating": 4
                        },
                        {
                            "pid": 1385,
                            "name": "Marcus Derrickson",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "primaryposition": "PF",
                            "primarypositionname": "Power forward",
                            "fantasy_player_rating": 12.5
                        }
                    ],
                    "away": [
                        {
                            "pid": 304,
                            "name": "Norman Powell",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "F-G",
                            "positionname": "Forward-Guard",
                            "primaryposition": "SF",
                            "primarypositionname": "Small forward",
                            "fantasy_player_rating": 9.5
                        },
                        {
                            "pid": 185,
                            "name": "Serge Ibaka",
                            "nationality": {
                                "iocid": 50,
                                "name": "DR Congo",
                                "ioc": "cd"
                            },
                            "positiontype": "C-F",
                            "positionname": "Center-Forward",
                            "primaryposition": "C",
                            "primarypositionname": "Center",
                            "fantasy_player_rating": 14.5
                        },
                        {
                            "pid": 524,
                            "name": "OG Anunoby",
                            "nationality": {
                                "iocid": 225,
                                "name": "Great Britain",
                                "ioc": "gb"
                            },
                            "positiontype": "F",
                            "positionname": "Forward",
                            "primaryposition": "SF",
                            "primarypositionname": "Small forward",
                            "fantasy_player_rating": 6.5
                        },
                        {
                            "pid": 210,
                            "name": "Kyle Lowry",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "PG",
                            "primarypositionname": "Point guard",
                            "fantasy_player_rating": 14.5
                        },
                        {
                            "pid": 510,
                            "name": "Fred VanVleet",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "PG",
                            "primarypositionname": "Point guard",
                            "fantasy_player_rating": 11.5
                        }
                    ]
                },
                "fantasy_points": {
                    "home": [
                        {
                            "pid": 64,
                            "name": "Kevin Durant",
                            "role": "SF",
                            "fantasy_credit": 21.5,
                            "point": 0,
                            "pointscored": 0,
                            "rebound": 0,
                            "assist": 0,
                            "steal": 0,
                            "block": 0,
                            "turnover": 0
                        },
                        {
                            "pid": 305,
                            "name": "Kevon Looney",
                            "role": "PF",
                            "fantasy_credit": 6.5,
                            "point": 19.1,
                            "pointscored": 6,
                            "rebound": 3.6,
                            "assist": 4.5,
                            "steal": 3,
                            "block": 3,
                            "turnover": -1
                        },
                        {
                            "pid": 179,
                            "name": "Draymond Green",
                            "role": "PF",
                            "fantasy_credit": 6.5,
                            "point": 60.3,
                            "pointscored": 11,
                            "rebound": 22.8,
                            "assist": 19.5,
                            "steal": 9,
                            "block": 6,
                            "turnover": -8
                        },
                        {
                            "pid": 38,
                            "name": "Klay Thompson",
                            "role": "SG",
                            "fantasy_credit": 17.5,
                            "point": 40,
                            "pointscored": 30,
                            "rebound": 6,
                            "assist": 0,
                            "steal": 6,
                            "block": 0,
                            "turnover": -2
                        },
                        {
                            "pid": 43,
                            "name": "Andre Iguodala",
                            "role": "SG",
                            "fantasy_credit": 6.5,
                            "point": 29.4,
                            "pointscored": 22,
                            "rebound": 2.4,
                            "assist": 3,
                            "steal": 0,
                            "block": 3,
                            "turnover": -1
                        },
                        {
                            "pid": 197,
                            "name": "Stephen Curry",
                            "role": "PG",
                            "fantasy_credit": 23.5,
                            "point": 41.1,
                            "pointscored": 21,
                            "rebound": 3.6,
                            "assist": 10.5,
                            "steal": 6,
                            "block": 3,
                            "turnover": -3
                        },
                        {
                            "pid": 1461,
                            "name": "Andrew Bogut",
                            "role": "C",
                            "fantasy_credit": 4,
                            "point": 1.2,
                            "pointscored": 0,
                            "rebound": 1.2,
                            "assist": 0,
                            "steal": 0,
                            "block": 0,
                            "turnover": 0
                        },
                        {
                            "pid": 611,
                            "name": "Alfonzo McKinnie",
                            "role": "SF",
                            "fantasy_credit": 4,
                            "point": 3.6,
                            "pointscored": 0,
                            "rebound": 3.6,
                            "assist": 0,
                            "steal": 0,
                            "block": 0,
                            "turnover": 0
                        },
                        {
                            "pid": 1392,
                            "name": "DeMarcus Cousins",
                            "role": "C",
                            "fantasy_credit": 16.5,
                            "point": 24,
                            "pointscored": 12,
                            "rebound": 6,
                            "assist": 3,
                            "steal": 0,
                            "block": 3,
                            "turnover": 0
                        },
                        {
                            "pid": 286,
                            "name": "Quinn Cook",
                            "role": "PG",
                            "fantasy_credit": 6.5,
                            "point": 3.2,
                            "pointscored": 2,
                            "rebound": 1.2,
                            "assist": 0,
                            "steal": 0,
                            "block": 0,
                            "turnover": 0
                        },
                        {
                            "pid": 85,
                            "name": "Shaun Livingston",
                            "role": "PG",
                            "fantasy_credit": 4,
                            "point": 8,
                            "pointscored": 6,
                            "rebound": 0,
                            "assist": 0,
                            "steal": 3,
                            "block": 0,
                            "turnover": -1
                        }
                    ],
                    "away": [
                        {
                            "pid": 186,
                            "name": "Marc Gasol",
                            "role": "C",
                            "fantasy_credit": 14.5,
                            "point": 18.8,
                            "pointscored": 3,
                            "rebound": 10.8,
                            "assist": 6,
                            "steal": 0,
                            "block": 0,
                            "turnover": -1
                        },
                        {
                            "pid": 210,
                            "name": "Kyle Lowry",
                            "role": "PG",
                            "fantasy_credit": 14.5,
                            "point": 55.4,
                            "pointscored": 26,
                            "rebound": 8.4,
                            "assist": 15,
                            "steal": 9,
                            "block": 0,
                            "turnover": -3
                        },
                        {
                            "pid": 134,
                            "name": "Danny Green",
                            "role": "SG",
                            "fantasy_credit": 11.5,
                            "point": 7.7,
                            "pointscored": 0,
                            "rebound": 1.2,
                            "assist": 4.5,
                            "steal": 3,
                            "block": 0,
                            "turnover": -1
                        },
                        {
                            "pid": 512,
                            "name": "Pascal Siakam",
                            "role": "PF",
                            "fantasy_credit": 16.5,
                            "point": 46.5,
                            "pointscored": 26,
                            "rebound": 12,
                            "assist": 4.5,
                            "steal": 3,
                            "block": 3,
                            "turnover": -2
                        },
                        {
                            "pid": 191,
                            "name": "Kawhi Leonard",
                            "role": "SF",
                            "fantasy_credit": 21.5,
                            "point": 40.7,
                            "pointscored": 22,
                            "rebound": 7.2,
                            "assist": 4.5,
                            "steal": 6,
                            "block": 3,
                            "turnover": -2
                        },
                        {
                            "pid": 510,
                            "name": "Fred VanVleet",
                            "role": "PG",
                            "fantasy_credit": 11.5,
                            "point": 26.4,
                            "pointscored": 22,
                            "rebound": 2.4,
                            "assist": 0,
                            "steal": 3,
                            "block": 0,
                            "turnover": -1
                        },
                        {
                            "pid": 185,
                            "name": "Serge Ibaka",
                            "role": "C",
                            "fantasy_credit": 14.5,
                            "point": 20.6,
                            "pointscored": 15,
                            "rebound": 3.6,
                            "assist": 3,
                            "steal": 0,
                            "block": 0,
                            "turnover": -1
                        },
                        {
                            "pid": 304,
                            "name": "Norman Powell",
                            "role": "SF",
                            "fantasy_credit": 9.5,
                            "point": 0.2,
                            "pointscored": 0,
                            "rebound": 1.2,
                            "assist": 0,
                            "steal": 0,
                            "block": 0,
                            "turnover": -1
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "8b82981ce42a3a7afd1a53152d430d5e",
        "modified": "2019-09-18 06:55:40",
        "datetime": "2019-09-18 06:55:40",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match team and player stats details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    teams array An array of both teamn see team object reference
    fantasy_points array An array of players fantasy points details. see fantasy points object reference

    Match Team Squads Object Reference

    Parameter Value Description
    home array array of home team player details.
    away array array of away team player details.

    Fantasy Points Object Reference

    Parameter Value Description
    home array array of home team player fantasy points details. see player fantasy points object reference
    away array array of away team player fantasy points details. see player fantasy points object reference

    Player Fantasy Points Reference

    Parameter Value Description
    pid integer player id
    name string player name
    role string team name type details
    fantasy_credit float player fantasy credit.
    point integer player total fantasy points of the match.
    pointscored integer player fantasy points for points scored in the match.
    rebound float player fantasy points for rebound.
    assist float player fantasy points for assist.
    steal integer player fantasy points for steal.
    block integer player fantasy points for block.
    turnover integer player fantasy points for turnover.

    Teams List API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/teams?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": 10,
                    "tname": "Oklahoma City",
                    "fullname": "Oklahoma City Thunder",
                    "abbr": "OKC",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "1967",
                    "website": "http://www.nba.com/sonics/",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://basketball.entitysport.com/assets/team/oklahomacity.png",
                    "team_url": "team/10/info",
                    "team_matches_url": "team/10/matches"
                }
            ],
            "total_items": "84",
            "total_pages": 84
        },
        "etag": "697d10d29bb6067598e9c777b6500ffa",
        "modified": "2019-01-15 15:44:24",
        "datetime": "2019-01-15 15:44:24",
        "api_version": "1.0"
    }
    
    

    This API lists all the teams available to access.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    team_url string team info url
    team_matches_url string team matches list url

    Team Info API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/team/17/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": 17,
                    "tname": "LA Clippers",
                    "fullname": "Los Angeles Clippers",
                    "abbr": "LAC",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "1970",
                    "website": "http://www.nba.com/clippers/",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://basketball.entitysport.com/assets/team/laclippers.png",
                    "squads": [
                        {
                            "pid": 31,
                            "fullname": "Lou Williams",
                            "birthdate": "1986-10-27",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "SG",
                            "primarypositionname": "Shooting guard",
                            "height": "185",
                            "weight": "79",
                            "fantasyplayerrating": 8
                        },
                        {
                            "pid": 39,
                            "fullname": "Patrick Beverley",
                            "birthdate": "1988-07-12",
                            "nationality": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            },
                            "positiontype": "G",
                            "positionname": "Guard",
                            "primaryposition": "PG",
                            "primarypositionname": "Point guard",
                            "height": "185",
                            "weight": "84",
                            "fantasyplayerrating": 8
                        }
                    ],
                    "venue": {
                        "venueid": 17,
                        "name": "Staples Center",
                        "location": "Los Angeles, USA",
                        "founded": "",
                        "capacity": "18230"
                    }
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "ad2471ebfcb456e29703847a7d298275",
        "modified": "2019-01-15 15:29:04",
        "datetime": "2019-01-15 15:29:04",
        "api_version": "1.0"
    }
    
    

    This API contains team info and squad/roaster player details.

    Request

    Parameter Value Description
    tid string team id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    fullname string team full name
    abbr string team abbrivation name
    iscountry string true if team is a national team and false if team is a club
    isclub string false if team is a national team and true if team is a club
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    squads array An array of team player details. see squads object reference
    venue array An array of team venue details. see venue object reference

    Squads Object Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    primaryposition string player primary playing position type
    primarypositionname string player primary playing position name
    height integer player height in centimeters
    weight integer player weight in kg
    fantasyplayerrating integer player fantasy credit rating

    Nationality Object Reference

    Parameter Value Description
    iocid integer country ioc code
    name string country name
    ioc string 2 letter ioc code

    Venue Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string location of the venue
    founded integer year venue founded
    capacity integer capacity of venue stadium

    Team Matches API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/team/70/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://basketball.entitysport.com/team/70/matches?token=[ACCESS_TOKEN]&status=2"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://basketball.entitysport.com/team/70/matches?token=[ACCESS_TOKEN]&status=2&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 1,
                    "round": {
                        "round": "1",
                        "name": "1"
                    },              
                    "teams": {
                        "home": {
                            "tid": 18,
                            "tname": "Minnesota",
                            "logo": "https://basketball.entitysport.com/assets/team/minnesota.png",
                            "fullname": "Minnesota Timberwolves",
                            "abbr": "MIN"
                        },
                        "away": {
                            "tid": 26,
                            "tname": "Utah",
                            "logo": "https://basketball.entitysport.com/assets/team/minnesota.png",
                            "fullname": "Utah Jazz",
                            "abbr": "UTA"
                        }
                    },
                    "datestart": "2018-11-01 00:00:00",
                    "dateend": "2018-11-01 19:42:29",
                    "timestampstart": "1541030400",
                    "timestampend": "1541101349",
                    "time": 48,
                    "result": {
                        "home": "128",
                        "away": "125",
                        "winner": "home"
                    },                                  
                    "quarters": {
                        "q1": {
                            "home": 32,
                            "away": 25
                        },
                        "q2": {
                            "home": 33,
                            "away": 31
                        },
                        "q3": {
                            "home": 36,
                            "away": 40
                        },
                        "q4": {
                            "home": 27,
                            "away": 29
                        },
                        "ft": {
                            "home": 128,
                            "away": 125
                        }
                    },               
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 7,
                    "attendance": 10079,
                    "competition": {
                        "cid": 1,
                        "cname": "NBA",
                        "startdate": "2018-10-16 00:00:00",
                        "enddate": "2019-07-01 23:59:59",
                        "startdatetimestamp": 1539648000,
                        "endtdatetimestamp": 1562025599,
                        "year": "18/19",
                        "category": "USA",
                        "ioc_id": "226",
                        "ioc": "us",
                        "status": 3,
                        "status_str": "live",
                        "logo": ""
                    },
                    "venue": {
                        "venueid": 18,
                        "name": "Target Center",
                        "location": "Minneapolis, USA",
                        "founded": "",
                        "capacity": "18230"                    
                    }
                }
            ],
            "total_items": 1230,
            "total_pages": 1230
        },
        "etag": "6b063d22fed16728c4439a19f044ad16",
        "modified": "2019-01-13 18:08:45",
        "datetime": "2019-01-13 18:08:45",
        "api_version": "1.0"
    }
    
    

    This API contains the list of team's all matches details.

    Request

    Parameter Value Description
    tid string competition id
    token {ACCESS_TOKEN} API Access token
    status integer 1 = upcoming, 2 = result, 3 = live, 4 = postponed, 5 = cancelled
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid integer match id
    round array An array of match round details. see round object reference
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart integer timestamp of match start time
    timestampend integer timestamp of match end time
    time integer match running time in minutes
    result array An array of match result details. see result object reference
    quarters array An array of match quarters wise details. see quarters object reference
    status_str string Match status string live, completed, upcoming
    status integer Match status code 3 = live, 2 = completed, 1 = upcoming
    gamestate_str string Match state string
    gamestate integer Match state code
    attendance integer total spectator attendance of the match
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Round Object Reference

    Parameter Value Description
    type string round type. There are 2 type of rounds table and cup.
    name string round
    type string round name

    Result Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score
    winner string winning team name, draw in case of equal scores

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url
    fullname string team full name
    abbr string team name abbreviation

    Quarter Object Reference

    Parameter Value Description
    q1 array An array of team score details in quarter 1. see q1 object reference
    q2 array An array of team score details in quarter 2. see q2 object reference
    q3 array An array of team score details in quarter 2. see q3 object reference
    q4 array An array of team score details in quarter 2. see q4 object reference
    ft array An array of team score details after full time. see ft object reference

    q1/q2/q3/q4/ft Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Venue Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string venue location
    founded integer year venue founded
    capacity integer capacity of venue stadium

    Player List API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/players?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": 20,
                    "fullname": "Kenneth Faried",
                    "birthdate": "1989-11-19",
                    "nationality": {
                        "iocid": 226,
                        "name": "USA",
                        "ioc": "us"
                    },
                    "positiontype": "F-C",
                    "positionname": "Forward-Center",
                    "primaryposition": "PF",
                    "primarypositionname": "Power forward",
                    "height": "203",
                    "weight": "100",
                    "fantasyplayerrating": 8
                }
            ],
            "total_items": 1444,
            "total_pages": 1444
        },
        "etag": "9cb07d4518b101edf2b78502e622a6ac",
        "modified": "2019-01-16 17:43:51",
        "datetime": "2019-01-16 17:43:51",
        "api_version": "1.0"
    }
    
    

    This API contains list of player details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    primaryposition string player primary playing position type
    primarypositionname string player primary playing position name
    height integer player height in centimeters
    weight integer player weight in kg
    fantasyplayerrating integer player fantasy credit rating

    Nationality Object Reference

    Parameter Value Description
    iocid integer country ioc code
    name string country name
    ioc string 2 letter ioc code

    Player Profile API

    Using Token parameter:

    curl -X GET "https://basketball.entitysport.com/player/157/profile?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "player_info": {
                    "pid": 180,
                    "fullname": "LeBron James",
                    "birthdate": "1984-12-30",
                    "nationality": {
                        "iocid": 226,
                        "name": "USA",
                        "ioc": "us"
                    },
                    "positiontype": "FG",
                    "positionname": "Forward-Guard",
                    "primaryposition": "SF",
                    "primarypositionname": "Small forward",
                    "height": "203",
                    "weight": "113",
                    "birthplace": "Akron",
                    "birthcountry": "USA",
                    "draftteam": "Cleveland",
                    "draftpick": "1",
                    "draftyear": 2003,
                    "debut_date": "2003-10-29",
                    "colleges": "",
                    "fantasyplayerrating": "23"
                },
                "team_played": [
                    {
                        "startdatetimestamp": 1531094400,
                        "startdate": "2018-07-09 00:00:00",
                        "enddatetimestamp": "",
                        "enddate": "",
                        "active": true,
                        "shirt": "23",
                        "team": {
                            "name": "LA Lakers",
                            "fullname": "Los Angeles Lakers",
                            "abbr": "LAL",
                            "iscountry": false,
                            "isclub": true,
                            "country": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            }
                        }
                    },
                    {
                        "startdatetimestamp": 1409529600,
                        "startdate": "2014-09-01 00:00:00",
                        "enddatetimestamp": 1530230400,
                        "enddate": "2018-06-29 00:00:00",
                        "active": false,
                        "shirt": "23",
                        "team": {
                            "name": "Cleveland",
                            "fullname": "Cleveland Cavaliers",
                            "abbr": "CLE",
                            "iscountry": false,
                            "isclub": true,
                            "country": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            }
                        }
                    },
                    {
                        "startdatetimestamp": 1283299200,
                        "startdate": "2010-09-01 00:00:00",
                        "enddatetimestamp": 1409356800,
                        "enddate": "2014-08-30 00:00:00",
                        "active": false,
                        "shirt": "",
                        "team": {
                            "name": "Miami",
                            "fullname": "Miami Heat",
                            "abbr": "MIA",
                            "iscountry": false,
                            "isclub": true,
                            "country": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            }
                        }
                    },
                    {
                        "startdatetimestamp": 1062374400,
                        "startdate": "2003-09-01 00:00:00",
                        "enddatetimestamp": 1283212800,
                        "enddate": "2010-08-31 00:00:00",
                        "active": false,
                        "shirt": "",
                        "team": {
                            "name": "Cleveland",
                            "fullname": "Cleveland Cavaliers",
                            "abbr": "CLE",
                            "iscountry": false,
                            "isclub": true,
                            "country": {
                                "iocid": 226,
                                "name": "USA",
                                "ioc": "us"
                            }
                        }
                    }
                ],
                "stats": {
                    "regularseason": [
                        {
                            "tournament": "NBA",
                            "year": "18/19",
                            "matchplayed": "34",
                            "minutesplayedpergame": "35",
                            "pointspergame": "27.3",
                            "freethrowsmadepergame": "5.3",
                            "twopointsmadepergame": "8.0",
                            "threepointsmadepergame": "2.0",
                            "fieldbasketmadepergame": "10.0",
                            "freethrowsmadepergamepercentage": "68",
                            "twopointsmadepergamepercentage": "58",
                            "threepointsmadepergamepercentage": "36",
                            "fieldbasketsmadepergamepercentage": "",
                            "reboundspergame": "8.3",
                            "defensivereboundspergame": "7.4",
                            "offensivereboundspergame": "0.9",
                            "assistspergame": "7.2",
                            "turnoverspergame": "3.4",
                            "stealspergame": "1.3",
                            "blockspergame": "0.7",
                            "personalfoulspergame": "1.6",
                            "pirpergame": "2.8",
                            "doubledoubles": "17",
                            "tripledoubles": "3",
                            "fieldbasketmadepergamepercentage": "52"
                        }
                    ],
                    "playoffs": [
                        {
                            "tournament": "NBA",
                            "year": "17/18",
                            "matchplayed": "22",
                            "minutesplayedpergame": "42",
                            "pointspergame": "34.0",
                            "freethrowsmadepergame": "7.2",
                            "twopointsmadepergame": "10.7",
                            "threepointsmadepergame": "1.8",
                            "fieldbasketmadepergame": "12.5",
                            "freethrowsmadepergamepercentage": "75",
                            "twopointsmadepergamepercentage": "60",
                            "threepointsmadepergamepercentage": "34",
                            "fieldbasketsmadepergamepercentage": "",
                            "reboundspergame": "9.1",
                            "defensivereboundspergame": "7.7",
                            "offensivereboundspergame": "1.4",
                            "assistspergame": "9.0",
                            "turnoverspergame": "4.3",
                            "stealspergame": "1.4",
                            "blockspergame": "1.1",
                            "personalfoulspergame": "2.4",
                            "pirpergame": "-1.0",
                            "doubledoubles": "15",
                            "tripledoubles": "4",
                            "fieldbasketmadepergamepercentage": "54"
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "abd56e97fd34ca46cb6f3c2da41f994f",
        "modified": "2019-01-23 15:23:28",
        "datetime": "2019-01-23 15:23:28",
        "api_version": "1.0"
    }
    
    

    This API contains player profile and career statistic details.

    Request

    Parameter Value Description
    pid integer player id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    player_info array array of player profile details. see player_info object reference
    team_played array array of teams info player played for during playing career. see team_played object reference
    stats array array of player career statistic. see stats object reference

    Player Profile Object Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality array An array of player nationality detail. see nationality object reference
    positiontype string player playing position type
    positionname string player playing position name
    primaryposition string player primary playing position type
    primarypositionname string player primary playing position name
    height integer player height in centimeters
    weight integer player weight in kg
    birthplace string player birth place name
    birthcountry string player birth country name
    draftteam string player draft team name
    draftpick string player draft pick order
    draftyear integer player draft year
    debut_date string player debut date
    colleges array player college name
    fantasyplayerrating string player fantasy credit rating

    Team Played Object Reference

    Parameter Value Description
    startdatetimestamp integer Starting timestamp with team
    startdate string Starting date with team
    enddatetimestamp integer End timestamp with team
    enddate string End timestamp with team
    active string true if player is still playing for the team, false if player is not with the team
    shirt string Player shirt number with the team
    team array An array of team detail. see team object reference

    Team Object Reference

    Parameter Value Description
    name string Team name
    fullname string Team full name
    abbr string Team short name
    iscountry string true if team is a national team, false if team is a domestic club
    country array An array of team country detail. see nationality object reference

    Nationality Object Reference

    Parameter Value Description
    iocid integer country ioc code
    name string country name
    ioc string 2 letter ioc code

    Stats Object Reference

    Parameter Value Description
    regularseason array An array of player regular season career statistic detail. see regular season object reference
    playoffs array An array of player playoffs career statistic detail. see playoffs object reference

    Stats Object Reference

    Parameter Value Description
    tournament string tournament name
    year string tournament year
    matchplayed string matches played by the player
    minutesplayedpergame string minutes played by the player per game
    pointspergame string points scored by the player per game
    freethrowsmadepergame string free throws by the player per game
    twopointsmadepergame string two points basket by the player per game
    threepointsmadepergame string three points basket by the player per game
    fieldbasketmadepergame string field basket by the player per game
    freethrowsmadepergamepercentage string free throws percentage by the player per game
    twopointsmadepergamepercentage string two points basket percentage by the player per game
    threepointsmadepergamepercentage string three points basket percentage by the player per game
    fieldbasketsmadepergamepercentage string field basket percentage by the player per game
    defensivereboundspergame string defensive rebounds by the player per game
    offensivereboundspergame string offensive rebounds by the player per game
    assistspergame string assists by the player per game
    turnoverspergame string by the player per game
    stealspergame string turnovers by the player per game
    blockspergame string blocks by the player per game
    personalfoulspergame string personal fouls by the player per game
    pirpergame string player performance index rating per game
    doubledoubles string doubledoubles by the player per game
    tripledoubles string tripledoubles by the player per game
    fieldbasketmadepergamepercentage string field basket percentage by the player per game

    Match status Reference

    Code Description
    1 Upcoming
    2 Result
    3 Live
    4 Postponed
    5 Canceled
    6 Abandoned

    Match Game State Reference

    Code Description
    0 None
    1 Not started
    2 1st quarter
    3 2nd quarter
    4 3rd quarter
    5 4th quarter
    6 Break
    7 Ended
    10 Cancelled
    11 Postponed
    12 Abandoned

    Playing Position Reference

    Code Description
    C Center
    PF Power forward
    PG Point guard
    SF Small forward
    SG Shooting guard

    Kabaddi API

    Getting your Keys

    You will need an active access key and secret key with a valid subsciption to start using our API. Please visit entitysport.com to request your keys and subscription.

    Obtaining Token

    To authorize, use this code:

    curl -X POST "https://rest.entitysport.com/kabaddi/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY"
    
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "token": "1|X#aFhlzAsd",
            "expires": "12312312312",
        },
        "api_version": "2.0"
    }
    
    

    To access any API, you need a token. A token can be generated using your keys. Token is a piece of information that would allow you to access our API data until your subscription expires. Auth API provides you the token, by validating your keys. Request to our Auth API whenever the access token is expired or unavailable.

    Request

    Response

    Making your First Request

    curl -X GET "https://rest.entitysport.com/kabaddi/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "api_doc": "https://doc.entitysport.com/#kabaddi-api/",
            "status_codes": {
                "ok": "Success",
                "error": "Failure",
                "invalid": "Invalid Request",
                "unauthorized": "Un authorized",
                "noaccess": "No access to requested resource"
            }
        },
        "api_version": "2.0"
    }
    
    

    It's very easy to start using the EntitySport Kabaddi API. By passing your token as token to our api server, you can get access to our API data instantly.

    https Request

    GET https://rest.entitysport.com/kabaddi/?token=[ACCESS_TOKEN]

    https Status Code

    All API request will resolve with any of the following https header status.

    Response Code Description
    200 API request valid, informations ready to access
    304 API request valid, but data was not modified since last accessed (compared using Etag)
    400 Client side error. occurs for invalid request
    401 occurs for unauthorized request
    501 Server side error. Internal server error, unable to process your request

    API Response

    
    {
        "status": "ok",
        "response": {},
        "etag": "8fc93de066d8d802a36e0882ecc77fdb",
        "modified": "2017-01-31 16:29:11",
        "datetime": "2017-01-31 16:29:11",
        "api_version": "1.0"
    }
    
    

    All successfull API request will return json output. The basic structure of data is available on all of the calls.

    Status - Possible Values are as follows :

    Status Description
    ok A successfull response
    error if the request contains error
    unauthorized if the request is not authorized, usually for invalid/expired access token
    accessdenied if your app try to access non permitted data

    Pagination

    Parameter Value Description
    per_page Number Number of items to list in each API request
    paged Number Page Number for request

    API Objects

    There are some informations that we call as OBJECT. A response can contain a single object, or multiple objects or no objects at all. It is important get famililar with our objects.

    We have 5 Obejcts in total. A object is a set of data, which contains a unique identifier, and directly relates to other objects. ie: match object connects inning object, team object.

    Each object has a unique identifier which start with the first character of object name, and id as suffix. ie: competition unique identified named as cid, for match it's mid, for player it's pid, for team, it's tid.

    Competitions List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/competitions?token=[ACCESS_TOKEN]"
    

    Using Token and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/competitions?token=[ACCESS_TOKEN]&per_page=10&paged=1"
    

    Using Token, Pagination and status parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/competitions?token=[ACCESS_TOKEN]&status=3&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": 1,
                    "cname": "Pro Kabaddi Season 6",
                    "startdate": "2018-10-07 00:00:00",
                    "enddate": "2019-01-05 00:00:00",
                    "startdatetimestamp": "1538870400",
                    "enddatetimestamp": "1546646400",
                    "year": "2018",
                    "status": 2,
                    "status_str": "completed",
                    "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png",
                    "competition_url": "competition/1/info",
                    "match_url": "competition/1/matches",
                    "stats_url": "competition/1/stats"
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "b752351296ef7672653d329d178f6f5a",
        "modified": "2019-04-21 09:39:41",
        "datetime": "2019-04-21 09:39:41",
        "api_version": "1.0"
    }
    
    

    This API lists all available competitions those user are subscribed and can access. This API is a directory of all competitions user have access.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    status integer status code for the competition, available status code 1 = upcoming, 2 = completed, 3 = live
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    match_url string Competition matches information API end point url
    stats_url string Competition player statistic information API end point url

    Competitions Information API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/competition/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "info": {
                    "cid": 1,
                    "cname": "Pro Kabaddi Season 6",
                    "startdate": "2018-10-07 00:00:00",
                    "enddate": "2019-01-05 00:00:00",
                    "startdatetimestamp": "1538870400",
                    "enddatetimestamp": "1546646400",
                    "year": "2018",
                    "status": 2,
                    "status_str": "completed",
                    "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png",
                    "competition_url": "competition/1/info",
                    "match_url": "competition/1/matches",
                    "stats_url": "competition/1/stats"
                },
                "teams": [
                    {
                        "tid": "1",
                        "tname": "Bengaluru Bulls",
                        "sex": "m",
                        "city": "Bengaluru",
                        "founded": "2014",
                        "website": "www.bengalurubulls.com",
                        "twitter": "www.twitter.com/BengaluruBulls",
                        "instagram": "www.instagram.com/bengalurubullsofficial",
                        "teamlogo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png",
                        "squads": [
                            {
                                "pid": "1",
                                "fullname": "Rohit Kumar",
                                "birthdate": "1990-01-19",
                                "nationality": "India",
                                "positionid": "2",
                                "positionname": "raider",
                                "height": "",
                                "weight": "79 kg"
                            }
                        ]
                    }
                ],
                "standings": [
                    {
                        "name": "Zone A",
                        "tables": [
                            {
                                "zone": "Zone A",
                                "tid": "4",
                                "tname": "Gujarat Fortunegiants",
                                "position": "1",
                                "matchplayed": "22",
                                "win": "17",
                                "tied": "2",
                                "draw": "2",
                                "noresult": "",
                                "pointconceded": "117",
                                "pointscored": "93"
                            }
                        ]
                    },
                    {
                        "name": "Zone B",
                        "tables": [
                            {
                                "zone": "Zone B",
                                "tid": "1",
                                "tname": "Bengaluru Bulls",
                                "position": "1",
                                "matchplayed": "22",
                                "win": "13",
                                "tied": "2",
                                "draw": "2",
                                "noresult": "",
                                "pointconceded": "104",
                                "pointscored": "78"
                            }
                        ]
                    }
                ]
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "bfd0b0addd6543ea252707491cb1201c",
        "modified": "2019-04-23 17:33:43",
        "datetime": "2019-04-23 17:33:43",
        "api_version": "1.0"
    }
    
    

    This API has competition and it's teams information.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    match_url string Competition matches information API end point url
    stats_url string Competition player statistic information API end point url
    teams array An array of all teams related to the competition. see teams object reference
    standings array An array of competition standings. see standings object reference

    Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    sex string team gender type
    city string team city name
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    squads array An array of teams player list. see teams squad object reference

    Team Squad Object Reference

    Parameter Value Description
    pid integer player id
    fullname string player name
    birthdate string player birth date
    nationality string country name
    positionid string player position id
    positionname string player position name
    height string player height
    weight string player weight

    Standings Object Reference

    Parameter Value Description
    name string player id
    tables array An array of standing table list. see teams squad object reference

    Standings Table Object Reference

    Parameter Value Description
    zone string group name
    tid string team id
    tname string team name
    position string table position
    matchesplayed string total number of matches played by the team
    win string total number of matches won by the team
    tied string total number of matches tied by the team
    draw string total number of matches drawn by the team
    noresult string total number of matches noresult by the team
    scoredifference string score difference of the team
    totalpoints string total number of points won by the team

    Competitions Matches API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/competition/1/matches?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 138,
                    "zone": "",
                    "round": "Final",
                    "teams": {
                        "home": {
                            "tid": 1,
                            "tname": "Bengaluru Bulls",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png"
                        },
                        "away": {
                            "tid": 4,
                            "tname": "Gujarat Fortunegiants",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png"
                        }
                    },
                    "datestart": "2019-01-05 02:30:00",
                    "dateend": "2019-01-05 03:10:00",
                    "timestampstart": "1546655400",
                    "timestampend": "1546657800",
                    "result": {
                        "home": "38",
                        "away": "33",
                        "winner": "1",
                        "text": "Bengaluru Bulls Beat Gujarat Fortunegiants  (38-33 )",
                        "tie": "false"
                    },
                    "status": 2,
                    "status_str": "result",
                    "gamestate": 3,
                    "gamestate_str": "Full Time",
                    "verified": "true",
                    "presquad": "true",
                    "toss": {
                        "winner": "1",
                        "decision": "Court"
                    },
                    "competition": {
                        "cid": 1,
                        "cname": "Pro Kabaddi Season 6",
                        "startdate": "2018-10-07 00:00:00",
                        "enddate": "2019-01-05 00:00:00",
                        "startdatetimestamp": "1538870400",
                        "endtdatetimestamp": "1546646400",
                        "year": "2018",
                        "status": 2,
                        "status_str": "completed",
                        "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png"
                    },
                    "venue": {
                        "venueid": 10,
                        "name": "DOME@NSCI SVP Stadium, Mumbai",
                        "location": "",
                        "founded": "",
                        "capacity": ""
                    }
                }
            ],
            "total_items": 24,
            "total_pages": 24
        },
        "etag": "6d253e36800c9554f2afc7b74eb1fe80",
        "modified": "2019-04-28 09:55:49",
        "datetime": "2019-04-28 09:55:49",
        "api_version": "1.0"
    }
    
    

    This API has competition's all matches details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid integer match id
    zone string match round details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart integer timestamp of match start time
    timestampend integer timestamp of match end time
    result array An array of match result details. see result object reference
    status integer Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate integer Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    toss array An array of match toss details. see toss object reference
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score
    winner string winning team id, draw in case of equal scores
    text string text note of match result.
    tie string if match is tied true else false.

    Toss Object Reference

    Parameter Value Description
    winner string toss wining team id.
    decision string decision of toss wining team.

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Venue Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity

    Competitions Statistic API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/competition/1/stats?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "competition": {
                "cid": 1,
                "cname": "Pro Kabaddi Season 6",
                "startdate": "2018-10-07 00:00:00",
                "enddate": "2019-01-05 00:00:00",
                "startdatetimestamp": "1538870400",
                "endtdatetimestamp": "1546646400",
                "year": "2018",
                "status": 2,
                "status_str": "completed",
                "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png"
            },
            "stats": [
                {
                    "pid": 6,
                    "name": "Pawan Sehrawat",
                    "tid": 1,
                    "tname": "Bengaluru Bulls",
                    "greencard": 1,
                    "yellowcard": 0,
                    "redcard": 0,
                    "totalpoint": 282,
                    "raidtotalpoint": 271,
                    "raidtouchpoint": 235,
                    "raidbonuspoint": 36,
                    "tackletotalpoint": 11,
                    "tacklecapturepoint": 11,
                    "tacklecapturebonuspoint": 0,
                    "tackletotal": 40,
                    "tacklesuccessful": 11,
                    "tackleunsuccessful": 29,
                    "supertackles": 0,
                    "raidtotal": 375,
                    "raidsuccessful": 214,
                    "raidunsuccessful": 85,
                    "raidempty": 76,
                    "superraid": 11
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "577d0534758a3d33cf310bad93a41678",
        "modified": "2019-04-24 08:53:06",
        "datetime": "2019-04-24 08:53:06",
        "api_version": "1.0"
    }
    
    

    This API has competition's total player statistic details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Competition object reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Competition Player Statistics Object Reference

    Parameter Value Description
    pid integer player id
    name string player name
    tid integer team id
    tname string team name
    greencard integer number of green card received by the player.
    yellowcard integer number of yellow card received by the player.
    redcard integer number of red card received by the player.
    totalpoint integer total points scored by the player.
    raidtotalpoint integer total raid points scored by the player.
    raidtouchpoint integer total touch points scored by the player.
    raidbonuspoint integer total bonus points scored by the player.
    tackletotalpoint integer total tackle points scored by the player.
    tacklecapturepoint integer total capture points scored by the player.
    tacklecapturebonuspoint integer total capture bonus points scored by the player.
    tackletotal integer total tackle attempted by the player.
    tacklesuccessful integer total successfull tackle attempted by the player.
    tackleunsuccessful integer total unsuccessfull tackle attempted by the player.
    supertackles integer total super tackle by the player.
    raidtotal integer total raid attempted by the player.
    raidsuccessful integer total successfull raid attempted by the player.
    raidunsuccessful integer total unsuccessfull raid attempted by the player.
    raidempty integer total empty raid attempted by the player.
    superraid integer total super raid attempted by the player.

    Matches List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/matches?token=[ACCESS_TOKEN]&status=1"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/matches?token=[ACCESS_TOKEN]&status=1&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 138,
                    "zone": "",
                    "round": "Final",
                    "teams": {
                        "home": {
                            "tid": 1,
                            "tname": "Bengaluru Bulls",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png"
                        },
                        "away": {
                            "tid": 4,
                            "tname": "Gujarat Fortunegiants",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png"
                        }
                    },
                    "datestart": "2019-01-05 02:30:00",
                    "dateend": "2019-01-05 03:10:00",
                    "timestampstart": "1546655400",
                    "timestampend": "1546657800",
                    "result": {
                        "home": "38",
                        "away": "33",
                        "winner": "1",
                        "text": "Bengaluru Bulls Beat Gujarat Fortunegiants  (38-33 )",
                        "tie": "false"
                    },
                    "status": 2,
                    "status_str": "result",
                    "gamestate": 3,
                    "gamestate_str": "Full Time",
                    "verified": "true",
                    "presquad": "true",
                    "toss": {
                        "winner": "1",
                        "decision": "Court"
                    },
                    "competition": {
                        "cid": 1,
                        "cname": "Pro Kabaddi Season 6",
                        "startdate": "2018-10-07 00:00:00",
                        "enddate": "2019-01-05 00:00:00",
                        "startdatetimestamp": "1538870400",
                        "endtdatetimestamp": "1546646400",
                        "year": "2018",
                        "status": 2,
                        "status_str": "completed",
                        "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png"
                    },
                    "venue": {
                        "venueid": 10,
                        "name": "DOME@NSCI SVP Stadium, Mumbai",
                        "location": "",
                        "founded": "",
                        "capacity": ""
                    }
                }
            ],
            "total_items": 24,
            "total_pages": 24
        },
        "etag": "6d253e36800c9554f2afc7b74eb1fe80",
        "modified": "2019-04-28 09:55:49",
        "datetime": "2019-04-28 09:55:49",
        "api_version": "1.0"
    }
    
    

    This API has list of all matches user have access.

    Request

    Parameter Value Description
    status integer status code 1 = upcoming, 2 = result, 3 = live.
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid integer match id
    zone string match zone details.
    round string match round details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart integer timestamp of match start time
    timestampend integer timestamp of match end time
    result array An array of match result details. see result object reference
    status integer Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate integer Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    toss array An array of match toss details. see toss object reference
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score
    winner string winning team id, draw in case of equal scores
    text string text note of match result.
    tie string if match is tied true else false.

    Toss Object Reference

    Parameter Value Description
    winner string toss wining team id.
    decision string decision of toss wining team.

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Venue Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity

    Match Info API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/matches/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": 1,
                    "zone": "Zone B",
                    "round": "League",
                    "teams": {
                        "home": {
                            "tid": 9,
                            "tname": "Tamil Thalaivas",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb831c45de6a.png"
                        },
                        "away": {
                            "tid": 7,
                            "tname": "Patna Pirates",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb831c45de6a.png"
                        }
                    },
                    "datestart": "2018-10-07 02:30:00",
                    "dateend": "2018-10-07 03:10:00",
                    "timestampstart": "1538879400",
                    "timestampend": "1538881800",
                    "result": {
                        "home": "42",
                        "away": "26",
                        "winner": "9",
                        "text": "Tamil Nadu Beat Patna  (42 - 26 )",
                        "tie": "false"
                    },
                    "status": 2,
                    "status_str": "result",
                    "gamestate": 3,
                    "gamestate_str": "Full Time",
                    "verified": "true",
                    "presquad": "true",
                    "toss": {
                        "winner": "7",
                        "decision": "Court"
                    },
                    "competition": {
                        "cid": 1,
                        "cname": "Pro Kabaddi Season 6",
                        "startdate": "2018-10-07 00:00:00",
                        "enddate": "2019-01-05 00:00:00",
                        "startdatetimestamp": "1538870400",
                        "endtdatetimestamp": "1546646400",
                        "year": "2018",
                        "status": 2,
                        "status_str": "completed",
                        "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png"
                    },
                    "venue": {
                        "venueid": 8,
                        "name": "Jawaharlal Nehru Indoor Stadium, Chennai",
                        "location": "",
                        "founded": "",
                        "capacity": ""
                    }
                },
                "event": [
                    {
                        "event_type_id": 1,
                        "event_type": "normal",
                        "event_time": "20:00",
                        "game_state": 1,
                        "game_state_str": "1st Half",
                        "raiding_team_id": 9,
                        "raiding_team_name": "Tamil Thalaivas",
                        "raid_type": "normal",
                        "raider_id": 150,
                        "raider_name": "Ajay Thakur",
                        "raid_event": "empty",
                        "tackle_event": "",
                        "super_event": "",
                        "defending_team_id": 7,
                        "defending_team_name": "Patna Pirates",
                        "defender_id": "",
                        "defender_name": "",
                        "point_home": 0,
                        "point_away": 0,
                        "bounus": "",
                        "allout": "false",
                        "allout_team_id": "",
                        "allout_team_name": ""
                    },
                    {
                        "event_type_id": 1,
                        "event_type": "normal",
                        "event_time": "19:37",
                        "game_state": 1,
                        "game_state_str": "1st Half",
                        "raiding_team_id": 7,
                        "raiding_team_name": "Patna Pirates",
                        "raid_type": "normal",
                        "raider_id": 122,
                        "raider_name": "Pardeep Narwal",
                        "raid_event": "empty",
                        "tackle_event": "",
                        "super_event": "",
                        "defending_team_id": 9,
                        "defending_team_name": "Tamil Thalaivas",
                        "defender_id": "",
                        "defender_name": "",
                        "point_home": 0,
                        "point_away": 0,
                        "bounus": "",
                        "allout": "false",
                        "allout_team_id": "",
                        "allout_team_name": ""
                    },
                    {
                        "event_type_id": 1,
                        "event_type": "normal",
                        "event_time": "19:90",
                        "game_state": 1,
                        "game_state_str": "1st Half",
                        "raiding_team_id": 9,
                        "raiding_team_name": "Tamil Thalaivas",
                        "raid_type": "normal",
                        "raider_id": 161,
                        "raider_name": "Jasvir Singh",
                        "raid_event": "empty",
                        "tackle_event": "",
                        "super_event": "",
                        "defending_team_id": 7,
                        "defending_team_name": "Patna Pirates",
                        "defender_id": "",
                        "defender_name": "",
                        "point_home": 0,
                        "point_away": 0,
                        "bounus": "",
                        "allout": "false",
                        "allout_team_id": "",
                        "allout_team_name": ""
                    }
                ],
                "squad": {
                    "home": [
                        {
                            "pid": 150,
                            "name": "Ajay Thakur",
                            "role": "raider",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": 171,
                            "name": "Surjeet Singh",
                            "role": "raider",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": 178,
                            "name": "Amit Hooda",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": 161,
                            "name": "Jasvir Singh",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": 198,
                            "name": "Manjeet Chhillar",
                            "role": "allrounder",
                            "fantasy_credit": "8"
                        }
                    ],
                    "away": [
                        {
                            "pid": 122,
                            "name": "Pardeep Narwal",
                            "role": "raider",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": 125,
                            "name": "Manjeet ",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": 133,
                            "name": "Vikas Kale",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": 131,
                            "name": "Vikas Jaglan",
                            "role": "raider",
                            "fantasy_credit": "8"
                        }
                    ]
                },
                "lineup": {
                    "home": {
                        "starting7": [
                            {
                                "pid": 150,
                                "name": "Ajay Thakur",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 171,
                                "name": "Surjeet Singh",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 178,
                                "name": "Amit Hooda",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 161,
                                "name": "Jasvir Singh",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 198,
                                "name": "Manjeet Chhillar",
                                "role": "allrounder",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 174,
                                "name": "Darshan J.",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 184,
                                "name": "C. Arun",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            }
                        ],
                        "substitute": [
                            {
                                "pid": 181,
                                "name": "D. Gopu",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "true"
                            },
                            {
                                "pid": 158,
                                "name": "Athul MS",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "false"
                            },
                            {
                                "pid": 202,
                                "name": "Victor Obiero",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "false"
                            },
                            {
                                "pid": 165,
                                "name": "K. Jayaseelan",
                                "role": "allrounder",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "false"
                            },
                            {
                                "pid": 186,
                                "name": "Sunil",
                                "role": "allrounder",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "true"
                            }
                        ]
                    },
                    "away": {
                        "starting7": [
                            {
                                "pid": 122,
                                "name": "Pardeep Narwal",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 125,
                                "name": "Manjeet ",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 133,
                                "name": "Vikas Kale",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 131,
                                "name": "Vikas Jaglan",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 135,
                                "name": "Jaideep",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 123,
                                "name": "Deepak Narwal",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            },
                            {
                                "pid": 124,
                                "name": "Jawahar",
                                "role": "allrounder",
                                "fantasy_credit": "8",
                                "starting7": "true",
                                "substitute": "false",
                                "played": "false"
                            }
                        ],
                        "substitute": [
                            {
                                "pid": 130,
                                "name": "Vijay",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "true"
                            },
                            {
                                "pid": 132,
                                "name": "Manish",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "true"
                            },
                            {
                                "pid": 129,
                                "name": "Tushar Patil",
                                "role": "raider",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "true"
                            },
                            {
                                "pid": 148,
                                "name": "Tae Deok Eom",
                                "role": "allrounder",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "true"
                            },
                            {
                                "pid": 136,
                                "name": "Vijay Kumar",
                                "role": "defender",
                                "fantasy_credit": "8",
                                "starting7": "false",
                                "substitute": "true",
                                "played": "true"
                            }
                        ]
                    }
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "2c702a172442f0b02cf7bfd8efe33bf5",
        "modified": "2019-04-28 09:59:07",
        "datetime": "2019-04-28 09:59:07",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match projection, events, commentary, lineup details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    event array An array of match event details. see event object reference
    squad array An array of match lineup details. see squad object reference
    lineup array An array of match lineup details. see lineup object reference

    Match Info Object Reference

    Parameter Value Description
    mid integer match id
    zone string match zone details.
    round string match round details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart integer timestamp of match start time
    timestampend integer timestamp of match end time
    result array An array of match result details. see result object reference
    status integer Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate integer Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    toss array An array of match toss details. see toss object reference
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home integer home team score
    away integer away team score
    winner string winning team id, draw in case of equal scores
    text string text note of match result.
    tie string if match is tied true else false.

    Toss Object Reference

    Parameter Value Description
    winner string toss wining team id.
    decision string decision of toss wining team.

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url

    Competition Object Reference

    Parameter Value Description
    cid integer competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp integer timestamp of competition start date
    enddatetimestamp integer timestamp of competition end date
    year string Season Year
    status integer Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Venue Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string venue location
    founded string venue founded year
    capacity string venue capacity

    Match Event Object Reference

    Parameter Value Description
    event_type_id integer event id
    event_type string event type
    event_time string time when event happened
    game_state integer game state id
    game_state_str string game state name
    raiding_team_id integer raiding team id
    raiding_team_name string raiding team name
    raid_type string raid type
    raider_id integer raider id
    raider_name string raider player name
    raid_event string raid event
    tackle_event string tackle event
    super_event string super event tackle or raid, if none empty
    defending_team_id integer defending team id
    defending_team_name string defending team name
    defender_id integer defender player id
    defender_name string defender name
    point_home string home team points
    point_away string away team points
    bonus string raider or defender, if none empty
    allout string true if allout event occured
    allout_team_id string team getting allout id
    allout_team_name string team getting allout name

    Squad Player Object Reference

    Parameter Value Description
    home array array of home team player list object details. see home team player object reference
    away array array of away team player list object details. see away team player object reference

    Player Object Reference

    Parameter Value Description
    pid integer player id
    name string player position name
    role string player playing role
    fantasy_credit string player fantasy credit/salary

    Lineup Object Reference

    Parameter Value Description
    home array array of home object details. see home object reference
    away array array of away object details. see away object reference

    Home/Away Object Reference

    Parameter Value Description
    starting7 array array of starting7 players list. see starting7 player object reference
    substitute array array of substitutes players details. see substitute player object reference

    Lineup Starting7/Substitute Object Reference

    Parameter Value Description
    pid integer player id
    name string player position name
    role string player playing role
    fantasy_credit string player fantasy credit/salary
    starting7 integer player is part of starting7 lineup
    substitute string player is a substitute
    played string player played or not, true if played else false

    Match Stats API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/matches/1/stats?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": 1,
                    "zone": "Zone B",
                    "round": "League",
                    "teams": {
                        "home": {
                            "tid": 9,
                            "tname": "Tamil Thalaivas",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb831c45de6a.png"
                        },
                        "away": {
                            "tid": 7,
                            "tname": "Patna Pirates",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb831c45de6a.png"
                        }
                    },
                    "datestart": "2018-10-07 02:30:00",
                    "dateend": "2018-10-07 03:10:00",
                    "timestampstart": "1538879400",
                    "timestampend": "1538881800",
                    "result": {
                        "home": "42",
                        "away": "26",
                        "winner": "9",
                        "text": "Tamil Nadu Beat Patna  (42 - 26 )",
                        "tie": "false"
                    },
                    "status": 2,
                    "status_str": "result",
                    "gamestate": 3,
                    "gamestate_str": "Full Time",
                    "verified": "true",
                    "presquad": "true",
                    "toss": {
                        "winner": "7",
                        "decision": "Court"
                    },
                    "competition": {
                        "cid": 1,
                        "cname": "Pro Kabaddi Season 6",
                        "startdate": "2018-10-07 00:00:00",
                        "enddate": "2019-01-05 00:00:00",
                        "startdatetimestamp": "1538870400",
                        "endtdatetimestamp": "1546646400",
                        "year": "2018",
                        "status": 2,
                        "status_str": "completed",
                        "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png"
                    },
                    "venue": {
                        "venueid": 8,
                        "name": "Jawaharlal Nehru Indoor Stadium, Chennai",
                        "location": "",
                        "founded": "",
                        "capacity": ""
                    }
                },
                "team_stats": {
                    "home": {
                        "totalpoint": 42,
                        "alloutpoint": 6,
                        "extrapoint": 1,
                        "declarepoint": 0,
                        "raidtotalpoint": 24,
                        "raidtouchpoint": 21,
                        "raidbonuspoint": 3,
                        "tackletotalpoint": 11,
                        "tacklecapturepoint": 10,
                        "tacklecapturebonuspoint": 1,
                        "raidtotal": 40,
                        "raidsuccessful": 19,
                        "raidunsuccessful": 2,
                        "raidempty": 19,
                        "superraid": 1,
                        "tackletotal": 28,
                        "tacklesuccessful": 9,
                        "tackleunsuccessful": 19,
                        "supertackles": 1,
                        "allouts": 3,
                        "declare": 0
                    },
                    "away": {
                        "totalpoint": 26,
                        "alloutpoint": 2,
                        "extrapoint": 1,
                        "declarepoint": 0,
                        "raidtotalpoint": 21,
                        "raidtouchpoint": 19,
                        "raidbonuspoint": 2,
                        "tackletotalpoint": 2,
                        "tacklecapturepoint": 2,
                        "tacklecapturebonuspoint": 0,
                        "raidtotal": 40,
                        "raidsuccessful": 18,
                        "raidunsuccessful": 10,
                        "raidempty": 12,
                        "superraid": 0,
                        "tackletotal": 23,
                        "tacklesuccessful": 2,
                        "tackleunsuccessful": 21,
                        "supertackles": 0,
                        "allouts": 1,
                        "declare": 0
                    }
                },
                "match_player_stats": {
                    "home": [
                        {
                            "pid": 150,
                            "name": "Ajay Thakur",
                            "greencardcount": 2,
                            "yellowcardcount": 0,
                            "redcardcount": 0,
                            "totalpoint": 14,
                            "raidtotalpoint": 14,
                            "raidtouchpoint": 14,
                            "raidbonuspoint": 0,
                            "tackletotalpoint": 0,
                            "tacklecapturepoint": 0,
                            "tacklecapturebonuspoint": 0,
                            "tackletotal": 2,
                            "tacklesuccessful": 0,
                            "tackleunsuccessful": 2,
                            "supertackles": 0,
                            "raidtotal": 18,
                            "raidsuccessful": 12,
                            "raidunsuccessful": 1,
                            "raidempty": 5,
                            "superraid": 0
                        },
                        {
                            "pid": 171,
                            "name": "Surjeet Singh",
                            "greencardcount": 0,
                            "yellowcardcount": 0,
                            "redcardcount": 0,
                            "totalpoint": 7,
                            "raidtotalpoint": 7,
                            "raidtouchpoint": 4,
                            "raidbonuspoint": 3,
                            "tackletotalpoint": 0,
                            "tacklecapturepoint": 0,
                            "tacklecapturebonuspoint": 0,
                            "tackletotal": 0,
                            "tacklesuccessful": 0,
                            "tackleunsuccessful": 0,
                            "supertackles": 0,
                            "raidtotal": 11,
                            "raidsuccessful": 4,
                            "raidunsuccessful": 0,
                            "raidempty": 7,
                            "superraid": 1
                        }
                    ],
                    "away": [
                        {
                            "pid": 122,
                            "name": "Pardeep Narwal",
                            "greencardcount": 0,
                            "yellowcardcount": 0,
                            "redcardcount": 0,
                            "totalpoint": 11,
                            "raidtotalpoint": 11,
                            "raidtouchpoint": 10,
                            "raidbonuspoint": 1,
                            "tackletotalpoint": 0,
                            "tacklecapturepoint": 0,
                            "tacklecapturebonuspoint": 0,
                            "tackletotal": 0,
                            "tacklesuccessful": 0,
                            "tackleunsuccessful": 0,
                            "supertackles": 0,
                            "raidtotal": 18,
                            "raidsuccessful": 9,
                            "raidunsuccessful": 5,
                            "raidempty": 4,
                            "superraid": 0
                        },
                        {
                            "pid": 125,
                            "name": "Manjeet ",
                            "greencardcount": 0,
                            "yellowcardcount": 0,
                            "redcardcount": 0,
                            "totalpoint": 8,
                            "raidtotalpoint": 8,
                            "raidtouchpoint": 8,
                            "raidbonuspoint": 0,
                            "tackletotalpoint": 0,
                            "tacklecapturepoint": 0,
                            "tacklecapturebonuspoint": 0,
                            "tackletotal": 1,
                            "tacklesuccessful": 0,
                            "tackleunsuccessful": 1,
                            "supertackles": 0,
                            "raidtotal": 11,
                            "raidsuccessful": 8,
                            "raidunsuccessful": 1,
                            "raidempty": 2,
                            "superraid": 0
                        }
                    ]
                },
                "points": {
                    "home": [
                        {
                            "pid": 150,
                            "name": "Ajay Thakur",
                            "role": "raider",
                            "fantasy_credit": "8",
                            "point": 62,
                            "starting7": 4,
                            "substitute": 0,
                            "raidtouch": 56,
                            "raidbonus": 0,
                            "raidunsucceessful": -1,
                            "tacklesucceessful": 0,
                            "supertackle": 0,
                            "greencard": -4,
                            "yellowcard": 0,
                            "redcard": 0,
                            "pushingallout": 9,
                            "gettingallout": -2
                        },
                        {
                            "pid": 171,
                            "name": "Surjeet Singh",
                            "role": "raider",
                            "fantasy_credit": "8",
                            "point": 33,
                            "starting7": 4,
                            "substitute": 0,
                            "raidtouch": 16,
                            "raidbonus": 6,
                            "raidunsucceessful": 0,
                            "tacklesucceessful": 0,
                            "supertackle": 0,
                            "greencard": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "pushingallout": 9,
                            "gettingallout": -2
                        }
                    ],
                    "away": [
                        {
                            "pid": 122,
                            "name": "Pardeep Narwal",
                            "role": "raider",
                            "fantasy_credit": "8",
                            "point": 38,
                            "starting7": 4,
                            "substitute": 0,
                            "raidtouch": 40,
                            "raidbonus": 2,
                            "raidunsucceessful": -5,
                            "tacklesucceessful": 0,
                            "supertackle": 0,
                            "greencard": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "pushingallout": 3,
                            "gettingallout": -6
                        },
                        {
                            "pid": 125,
                            "name": "Manjeet ",
                            "role": "defender",
                            "fantasy_credit": "8",
                            "point": 32,
                            "starting7": 4,
                            "substitute": 0,
                            "raidtouch": 32,
                            "raidbonus": 0,
                            "raidunsucceessful": -1,
                            "tacklesucceessful": 0,
                            "supertackle": 0,
                            "greencard": 0,
                            "yellowcard": 0,
                            "redcard": 0,
                            "pushingallout": 3,
                            "gettingallout": -6
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "e3f367077aaf9183b730dbc6ca787378",
        "modified": "2019-04-28 10:01:11",
        "datetime": "2019-04-28 10:01:11",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match team and player stats details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    team_stats array An array of team match statistic details. see team match statistic object reference
    match_player_stats array An array of player match statistic details. see player match statistic object reference
    points array An array of player match fantasy points details. see player fantasy points object reference

    Match Team Stats Object Reference

    Parameter Value Description
    totalpoint integer total points of the team
    alloutpoint integer allout points
    extrapoint integer extra points
    declarepoint integer declare point
    raidtotalpoint integer total raid points
    raidtouchpoint integer raid touch points
    raidbonuspoint integer raid bonus points
    tackletotalpoint integer total tackle point
    tacklecapturepoint integer tackle capture points
    tacklecapturebonuspoint integer tackle capture bonus points
    raidtotal integer total raid
    raidsuccessful integer total successfull raid
    raidunsuccessful integer total unsuccessfull raid
    raidempty integer total empty raid
    superraid integer total superraid
    tackletotal integer total tackle
    tacklesuccessful integer total successfull tackle
    tackleunsuccessful integer total unsuccessfull tackle
    supertackles integer otal super tackle
    allouts integer total allouts pushed by the team
    declare integer declare count

    Player Match Statistics Reference

    Parameter Value Description
    home array array of home team player stats details. see player statistic object reference
    away array array of away team player stats details. see player statistic object reference

    Player Match Statistics Reference

    Parameter Value Description
    pid integer player id
    name string player name
    greencardcount string total green card received by the player
    yellowcardcount integer total yellow card received by the player
    redcardcount integer total red card received by the player
    totalpoint integer total points awarded to the player
    raidtotalpoint integer total raid points
    raidtouchpoint integer total raid touch points
    raidbonuspoint integer total raid bonus points
    tackletotalpoint integer total tackle points
    tacklecapturepoint integer total tackle capture points
    tacklecapturebonuspoint integer total tackle capture bonus points
    tackletotal integer total tackle
    tacklesuccessful integer total successfull tackle
    tackleunsuccessful integer total unsuccessfull tackle
    supertackles integer total super tackles
    raidtotal integer total raids
    raidsuccessful integer total successfull raids
    raidunsuccessful integer total unsuccessfull raids
    raidempty integer total empty raids
    superraid integer total super raids

    Fantasy Points Reference

    Parameter Value Description
    pid integer player id
    name string player name
    role string player role
    fantasy_credit string player fantasy credit
    point integer total fantasy points of player
    starting7 integer points for starting7
    substitute integer points for substitute
    raidtouch integer raid touch points
    raidbonus integer raid bonus points
    raidunsuccessful integer unsuccessfull raid points
    tacklesuccessful integer successfull tackle points
    supertackle integer super tackle points
    greencard integer green card points
    yellowcard integer yellow card points
    redcard integer red card points
    pushingallout integer points for pushing all out
    gettingallout integer points for getting all out

    Teams List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/teams?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "1",
                    "tname": "Bengaluru Bulls",
                    "sex": "m",
                    "city": "Bengaluru",
                    "founded": "2014",
                    "website": "www.bengalurubulls.com",
                    "twitter": "www.twitter.com/BengaluruBulls",
                    "instagram": "www.instagram.com/bengalurubullsofficial",
                    "teamlogo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png",
                    "teamurl": "team/1/info",
                    "teammatches_url": "team/1/matches"
                }
            ],
            "total_items": "1",
            "total_pages": 1
        },
        "etag": "31ee4fffb2a44554723f3476143e7e12",
        "modified": "2019-04-27 11:03:01",
        "datetime": "2019-04-27 11:03:01",
        "api_version": "1.0"
    }
    
    

    This API lists all the teams available to access.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    sex string team gender
    city string team city name
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    team_url string team info url
    team_matches_url string team matches list url

    Team Info API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/team/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "1",
                    "tname": "Bengaluru Bulls",
                    "sex": "m",
                    "city": "Bengaluru",
                    "founded": "2014",
                    "website": "www.bengalurubulls.com",
                    "twitter": "www.twitter.com/BengaluruBulls",
                    "instagram": "www.instagram.com/bengalurubullsofficial",
                    "teamlogo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png",
                    "squads": [
                        {
                            "pid": "1",
                            "fullname": "Rohit Kumar",
                            "birthdate": "1990-01-19",
                            "nationality": "India",
                            "positionid": "2",
                            "positionname": "raider",
                            "height": "",
                            "weight": "79 kg"
                        },
                        {
                            "pid": "2",
                            "fullname": "Anand V",
                            "birthdate": "1996-01-24",
                            "nationality": "India",
                            "positionid": "2",
                            "positionname": "raider",
                            "height": "",
                            "weight": ""
                        }
                    ],
                    "coach": "",
                    "venue": {
                        "venueid": 7,
                        "name": "Patliputra Sports Complex, Patna",
                        "location": "",
                        "founded": "",
                        "capacity": ""
                    }
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "5bd04d9ff8f3aa5667b37026ba4d0d00",
        "modified": "2019-04-28 10:04:33",
        "datetime": "2019-04-28 10:04:33",
        "api_version": "1.0"
    }
    
    

    This API contains team info and squad/roaster player details.

    Request

    Parameter Value Description
    tid string team id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    sex string team gender
    city string team city name
    founded integer year of team founded
    website string website url of team website
    twitter string twitter account name
    hastag string social hastag
    teamlogo string team logo url
    team_url string team info url
    team_matches_url string team matches list url
    squads array An array of team player details. see squads object reference
    coach string coach name
    venue array An array of team venue details. see venue object reference

    Squads Object Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality string country name
    positionid string player playing position id
    positionname string player playing position name
    height integer player height in centimeters
    weight integer player weight in kg

    Venue Object Reference

    Parameter Value Description
    venueid integer venue id
    name string venue name
    location string location of the venue
    founded integer year venue founded
    capacity integer capacity of venue stadium

    Team Matches API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/team/1/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/team/1/matches?token=[ACCESS_TOKEN]&status=2"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/team/1/matches?token=[ACCESS_TOKEN]&status=2&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 138,
                    "zone": "",
                    "round": "Final",
                    "teams": {
                        "home": {
                            "tid": 1,
                            "tname": "Bengaluru Bulls",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png"
                        },
                        "away": {
                            "tid": 4,
                            "tname": "Gujarat Fortunegiants",
                            "logo": "https://rest.entitysport.com/kabaddi/assets/team/logo_5cb8312952da7.png"
                        }
                    },
                    "datestart": "2019-01-05 02:30:00",
                    "dateend": "2019-01-05 03:10:00",
                    "timestampstart": "1546655400",
                    "timestampend": "1546657800",
                    "result": {
                        "home": "38",
                        "away": "33",
                        "winner": "1",
                        "text": "Bengaluru Bulls Beat Gujarat Fortunegiants  (38-33 )",
                        "tie": "false"
                    },
                    "status": 2,
                    "status_str": "result",
                    "gamestate": 3,
                    "gamestate_str": "Full Time",
                    "verified": "true",
                    "presquad": "true",
                    "toss": {
                        "winner": "1",
                        "decision": "Court"
                    },
                    "competition": {
                        "cid": 1,
                        "cname": "Pro Kabaddi Season 6",
                        "startdate": "2018-10-07 00:00:00",
                        "enddate": "2019-01-05 00:00:00",
                        "startdatetimestamp": "1538870400",
                        "endtdatetimestamp": "1546646400",
                        "year": "2018",
                        "status": 2,
                        "status_str": "completed",
                        "logo": "https://rest.entitysport.com/kabaddi/assets/competition/logo_5cb831fcce9a1.png"
                    },
                    "venue": {
                        "venueid": 10,
                        "name": "DOME@NSCI SVP Stadium, Mumbai",
                        "location": "",
                        "founded": "",
                        "capacity": ""
                    }
                }
            ],
            "total_items": 24,
            "total_pages": 24
        },
        "etag": "6d253e36800c9554f2afc7b74eb1fe80",
        "modified": "2019-04-28 09:55:49",
        "datetime": "2019-04-28 09:55:49",
        "api_version": "1.0"
    }
    
    

    This API contains the list of team's all matches details.

    Request

    Parameter Value Description
    tid string competition id
    token {ACCESS_TOKEN} API Access token
    status integer 1 = upcoming, 2 = result, 3 = live, 4 = postponed, 5 = cancelled
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference

    Player List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/players?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": "1",
                    "fullname": "Rohit Kumar",
                    "birthdate": "1990-01-19",
                    "sex": "m",
                    "nationality": "India",
                    "positionid": "2",
                    "positionname": "raider",
                    "height": "",
                    "weight": "79 kg",
                    "jerseyno": "9",
                    "fantasy_credit": "8"
                }
            ],
            "total_items": 239,
            "total_pages": 239
        },
        "etag": "1c9e6774f1c8458ae18b5640fe2ac7c2",
        "modified": "2019-04-28 09:52:44",
        "datetime": "2019-04-28 09:52:44",
        "api_version": "1.0"
    }
    
    

    This API contains list of player details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality string country name
    positionid string player playing position id
    positionname string player playing position name
    height integer player height in centimeters
    weight integer player weight in kg
    jerseyno string player jersey number
    fantasy_credit string player fantasy credit/salary

    Player Profile API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/kabaddi/player/1/profile?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "player_info": {
                    "pid": "1",
                    "fullname": "Rohit Kumar",
                    "birthdate": "1990-01-19",
                    "sex": "m",
                    "nationality": "India",
                    "positionid": "2",
                    "positionname": "raider",
                    "height": "",
                    "weight": "79 kg",
                    "jerseyno": "9",
                    "fantasy_credit": "8"
                },
                "stats": [
                    {
                        "tournament": "Pro Kabaddi League Season 3, 2016",
                        "teamid": 7,
                        "teamname": "Patna Pirates",
                        "matchplayed": 12,
                        "totalraid": 178,
                        "successfulraid": 80,
                        "unsuccessfulraid": 28,
                        "emptyraid": 70,
                        "superraid": 4,
                        "percentsuccessfulraid": 57.3,
                        "totaltackle": 14,
                        "successfultackel": 7,
                        "unsuccessfultackel": 7,
                        "supertackle": "",
                        "tacklesuccessfulrate": 50,
                        "tacklesuccessfulpermatch": 0.58,
                        "greencard": "",
                        "yellowcard": "",
                        "redcard": "",
                        "totalpoint": 109,
                        "totalraidpoint": 102,
                        "raidtouchpoint": 87,
                        "raidbonuspoint": 15,
                        "raidpointpermatch": 8.5,
                        "totaltacklepoint": 7,
                        "super10s": "5",
                        "high5s": "",
                        "notoutpercentage": 84.26
                    },
                    {
                        "tournament": "Pro Kabaddi League Season 4, 2016",
                        "teamid": 1,
                        "teamname": "Bengaluru Bulls",
                        "matchplayed": 14,
                        "totalraid": 234,
                        "successfulraid": 75,
                        "unsuccessfulraid": 52,
                        "emptyraid": 107,
                        "superraid": 3,
                        "percentsuccessfulraid": 39.74,
                        "totaltackle": 16,
                        "successfultackel": 6,
                        "unsuccessfultackel": 10,
                        "supertackle": 1,
                        "tacklesuccessfulrate": 43.75,
                        "tacklesuccessfulpermatch": 0.42,
                        "greencard": "",
                        "yellowcard": "",
                        "redcard": "",
                        "totalpoint": 100,
                        "totalraidpoint": 93,
                        "raidtouchpoint": 75,
                        "raidbonuspoint": 18,
                        "raidpointpermatch": 6.64,
                        "totaltacklepoint": 7,
                        "super10s": "1",
                        "high5s": "",
                        "notoutpercentage": 77.77
                    },
                    {
                        "tournament": "Pro Kabaddi League Season 5, 2017",
                        "teamid": 1,
                        "teamname": "Bengaluru Bulls",
                        "matchplayed": 22,
                        "totalraid": 418,
                        "successfulraid": 192,
                        "unsuccessfulraid": 82,
                        "emptyraid": 144,
                        "superraid": 1,
                        "percentsuccessfulraid": 52.39,
                        "totaltackle": 27,
                        "successfultackel": 11,
                        "unsuccessfultackel": 16,
                        "supertackle": 1,
                        "tacklesuccessfulrate": 44.44,
                        "tacklesuccessfulpermatch": 0.5,
                        "greencard": 1,
                        "yellowcard": "",
                        "redcard": "",
                        "totalpoint": 231,
                        "totalraidpoint": 219,
                        "raidtouchpoint": 170,
                        "raidbonuspoint": 49,
                        "raidpointpermatch": 9.95,
                        "totaltacklepoint": 12,
                        "super10s": "12",
                        "high5s": "",
                        "notoutpercentage": 80.38
                    },
                    {
                        "tournament": "Pro Kabaddi League Season 6, 2018",
                        "teamid": 1,
                        "teamname": "Bengaluru Bulls",
                        "matchplayed": 24,
                        "totalraid": 341,
                        "successfulraid": 129,
                        "unsuccessfulraid": 64,
                        "emptyraid": 148,
                        "superraid": 5,
                        "percentsuccessfulraid": 47.5,
                        "totaltackle": 30,
                        "successfultackel": 9,
                        "unsuccessfultackel": 21,
                        "supertackle": "",
                        "tacklesuccessfulrate": 30,
                        "tacklesuccessfulpermatch": 0.37,
                        "greencard": 1,
                        "yellowcard": 1,
                        "redcard": "",
                        "totalpoint": 171,
                        "totalraidpoint": 162,
                        "raidtouchpoint": 129,
                        "raidbonuspoint": 33,
                        "raidpointpermatch": 6.75,
                        "totaltacklepoint": 9,
                        "super10s": "5",
                        "high5s": "1",
                        "notoutpercentage": 81.23
                    },
                    {
                        "tournament": "total",
                        "teamid": "",
                        "teamname": "",
                        "matchplayed": 72,
                        "totalraid": 1171,
                        "successfulraid": 476,
                        "unsuccessfulraid": 226,
                        "emptyraid": 469,
                        "superraid": 13,
                        "percentsuccessfulraid": 49.18,
                        "totaltackle": 87,
                        "successfultackel": 33,
                        "unsuccessfultackel": 54,
                        "supertackle": 2,
                        "tacklesuccessfulrate": 40.22,
                        "tacklesuccessfulpermatch": 0.45,
                        "greencard": 2,
                        "yellowcard": 1,
                        "redcard": "",
                        "totalpoint": 611,
                        "totalraidpoint": 576,
                        "raidtouchpoint": 461,
                        "raidbonuspoint": 115,
                        "raidpointpermatch": 8,
                        "totaltacklepoint": 35,
                        "super10s": "23",
                        "high5s": "1",
                        "notoutpercentage": 80.7
                    }
                ]
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "795319792a3dd959d51fad7ff9b27682",
        "modified": "2019-04-30 06:44:37",
        "datetime": "2019-04-30 06:44:37",
        "api_version": "1.0"
    }
    
    

    This API contains player profile and career statistic details.

    Request

    Parameter Value Description
    pid integer player id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    player_info array array of player profile details. see player_info object reference
    stats array array of player stats season wise for during playing career. see stats object reference

    Player Profile Object Reference

    Parameter Value Description
    pid integer player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality string country name
    positionid string player playing position id
    positionname string player playing position name
    height integer player height in centimeters
    weight integer player weight in kg
    jerseyno string player jersey number
    fantasy_credit string player fantasy credit/salary

    Stats Object Reference

    Parameter Value Description
    tournament string tournament name
    tid integer team id
    teamname string team name
    matchplayed integer matches played by the player
    totalraid integer total raids attempted by the player
    successfulraid integer total successfull raids completed by the player
    unsuccessfulraid integer total unsuccessfull raids attempted by the player
    emptyraid integer total empty raids attempted by the player
    superraid integer total super raids attempted by the player
    percentsuccessfulraid float raids success percent of the player
    totaltackle integer total tackle attempted by the player
    successfultackel integer total successfull tackle attempted by the player
    unsuccessfultackel integer total unsuccessfull tackle attempted by the player
    supertackle integer total super tackle attempted by the player
    tacklesuccessfulrate float successfull tackle percent of the player
    tacklesuccessfulpermatch float average successfull tackle attempted by the player per match
    greencard integer number of green card received by the player
    yellowcard integer number of yellow card received by the player
    redcard integer number of red card received by the player
    totalpoint integer total points by the player
    totalraidpoint integer total raid points by the player
    raidtouchpoint integer total raid touch point
    raidbonuspoint integer total raid bonus point
    raidpointpermatch float average raid points by the player per game
    totaltacklepoint integer total tackle points by the player
    super10s string 10 raid points by the player in a game
    high5s string 5 tackle by the player in a game
    notoutpercentage float amount of play time percentage player remain notout

    Match status Reference

    Code Description
    1 Upcoming
    2 Result
    3 Live
    4 Postponed
    5 Canceled
    6 Abandoned

    Match Game State Reference

    Code Description
    0 Not started
    1 1st Half
    2 2nd Half
    3 Full Time
    4 Extra Time

    Playing Position Reference

    Code Description
    1 All Rounder
    2 Raider
    3 Defender

    Hockey API

    Getting your Keys

    You will need an active access key and secret key with a valid subsciption to start using our API. Please visit entitysport.com to request your keys and subscription.

    Obtaining Token

    To authorize, use this code:

    curl -X POST "https://rest.entitysport.com/hockey/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY"
    
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "token": "1|X#aFhlzAsd",
            "expires": "12312312312",
        },
        "api_version": "2.0"
    }
    
    

    To access any API, you need a token. A token can be generated using your keys. Token is a piece of information that would allow you to access our API data until your subscription expires. Auth API provides you the token, by validating your keys. Request to our Auth API whenever the access token is expired or unavailable.

    Request

    Response

    Making your First Request

    curl -X GET "https://rest.entitysport.com/hockey/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "api_doc": "https://doc.entitysport.com/#hockey-api/",
            "status_codes": {
                "ok": "Success",
                "error": "Failure",
                "invalid": "Invalid Request",
                "unauthorized": "Un authorized",
                "noaccess": "No access to requested resource"
            }
        },
        "api_version": "2.0"
    }
    
    

    It's very easy to start using the EntitySport Hockey API. By passing your token as token to our api server, you can get access to our API data instantly.

    https Request

    GET https://rest.entitysport.com/hockey/?token=[ACCESS_TOKEN]

    https Status Code

    All API request will resolve with any of the following https header status.

    Response Code Description
    200 API request valid, informations ready to access
    304 API request valid, but data was not modified since last accessed (compared using Etag)
    400 Client side error. occurs for invalid request
    401 occurs for unauthorized request
    501 Server side error. Internal server error, unable to process your request

    API Response

    
    {
        "status": "ok",
        "response": {},
        "etag": "8fc93de066d8d802a36e0882ecc77fdb",
        "modified": "2017-01-31 16:29:11",
        "datetime": "2017-01-31 16:29:11",
        "api_version": "1.0"
    }
    
    

    All successfull API request will return json output. The basic structure of data is available on all of the calls.

    Status - Possible Values are as follows :

    Status Description
    ok A successfull response
    error if the request contains error
    unauthorized if the request is not authorized, usually for invalid/expired access token
    accessdenied if your app try to access non permitted data

    Pagination

    Parameter Value Description
    per_page Number Number of items to list in each API request
    paged Number Page Number for request

    API Objects

    There are some informations that we call as OBJECT. A response can contain a single object, or multiple objects or no objects at all. It is important get famililar with our objects.

    We have 5 Obejcts in total. A object is a set of data, which contains a unique identifier, and directly relates to other objects. ie: match object connects inning object, team object.

    Each object has a unique identifier which start with the first character of object name, and id as suffix. ie: competition unique identified named as cid, for match it's mid, for player it's pid, for team, it's tid.

    Competitions List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/competitions?token=[ACCESS_TOKEN]"
    

    Using Token and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/hockey/competitions?token=[ACCESS_TOKEN]&per_page=10&paged=1"
    

    Using Token, Pagination and status parameter:

    curl -X GET "https://rest.entitysport.com/hockey/competitions?token=[ACCESS_TOKEN]&status=3&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": "2",
                    "cname": "FIH Mens 2019",
                    "startdate": "2019-01-19",
                    "enddate": "2019-06-30",
                    "startdatetimestamp": "1547856000",
                    "enddatetimestamp": "1561852800",
                    "year": "2019",
                    "status": "2",
                    "status_str": "completed",
                    "logo": "",
                    "competition_url": "competition/2/info",
                    "match_url": "competition/2/matches"
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "f240f1eeee7bd1de345fb5440f20deba",
        "modified": "2019-12-31 13:57:27",
        "datetime": "2019-12-31 13:57:27",
        "api_version": "1.0"
    }
    
    

    This API lists all available competitions those user are subscribed and can access. This API is a directory of all competitions user have access.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    status string status code for the competition, available status code 1 = upcoming, 2 = completed, 3 = live
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    match_url string Competition matches information API end point url

    Competitions Information API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/competition/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "info": {
                    "cid": "2",
                    "cname": "FIH Mens 2019",
                    "startdate": "2019-01-19",
                    "enddate": "2019-06-30",
                    "startdatetimestamp": "1547856000",
                    "enddatetimestamp": "1561852800",
                    "year": "2019",
                    "status": "2",
                    "status_str": "completed",
                    "logo": "",
                    "competition_url": "competition/2/info",
                    "match_url": "competition/2/matches"
                },
                "teams": [
                    {
                        "tid": "1",
                        "tname": "Argentina",
                        "shortname": "ARG",
                        "sex": "m",
                        "city": "",
                        "founded": "",
                        "website": "",
                        "twitter": "argfieldhockey",
                        "instagram": "",
                        "teamlogo": ""
                    }
                ],
                "standings": ""
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "227d50806c59c1a6b7e7ca50c7a5e7c5",
        "modified": "2019-12-31 13:58:57",
        "datetime": "2019-12-31 13:58:57",
        "api_version": "1.0"
    }
    
    

    This API has competition and it's teams information.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    competition_url string Competition information API end point url
    match_url string Competition matches information API end point url
    teams array An array of all teams related to the competition. see teams object reference

    Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    shortname string team short name
    sex string team gender type
    city string team city name
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    instagram string instagram account name
    teamlogo string team logo url

    Competitions Matches API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/competition/1/matches?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": "1",
                    "round_id": "",
                    "round_name": "",
                    "title": "Spain vs Belgium",
                    "subtitle": "spain vs belgium",
                    "teams": {
                        "home": {
                            "tid": "8",
                            "tname": "Spain",
                            "shortname": "ESP",
                            "logo": ""
                        },
                        "away": {
                            "tid": "3",
                            "tname": "Belgium",
                            "shortname": "BEL",
                            "logo": ""
                        }
                    },
                    "datestart": "2019-01-19 12:00:00",
                    "dateend": "2019-01-19 14:00:00",
                    "timestampstart": "1547899200",
                    "timestampend": "1547906400",
                    "result": {
                        "home": "2",
                        "away": "2",
                        "winner": "",
                        "text": "Match Tied (2-2)",
                        "tie": "true"
                    },
                    "status": "2",
                    "status_str": "result",
                    "gamestate": "7",
                    "gamestate_str": "Unknown",
                    "verified": "true",
                    "presquad": "false",
                    "competition": {
                        "cid": "2",
                        "cname": "FIH Mens 2019",
                        "startdate": "2019-01-19",
                        "enddate": "2019-06-30",
                        "startdatetimestamp": "1547856000",
                        "endtdatetimestamp": "1561852800",
                        "year": "2019",
                        "status": "2",
                        "status_str": "completed",
                        "logo": ""
                    },
                    "venue": ""
                }
            ],
            "total_items": 60,
            "total_pages": 60
        },
        "etag": "8d9a5b1b64ec7ae01129010a801ccfc9",
        "modified": "2019-12-31 14:06:35",
        "datetime": "2019-12-31 14:06:35",
        "api_version": "1.0"
    }
    
    

    This API has competition's all matches details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid string match id
    round_id string match round id details.
    round_name string match round name details.
    title string match title details.
    subtitle string match sub title details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    result array An array of match result details. see result object reference
    status string Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate string Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team id, draw in case of equal scores
    text string text note of match result.
    tie string if match is tied true else false.

    Home/Away Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    shortname string team short name
    logo string team logo url

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Matches List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://rest.entitysport.com/hockey/matches?token=[ACCESS_TOKEN]&status=1"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/hockey/matches?token=[ACCESS_TOKEN]&status=1&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": "1",
                    "round_id": "",
                    "round_name": "",
                    "title": "Spain vs Belgium",
                    "subtitle": "spain vs belgium",
                    "teams": {
                        "home": {
                            "tid": "8",
                            "tname": "Spain",
                            "shortname": "ESP",
                            "logo": ""
                        },
                        "away": {
                            "tid": "3",
                            "tname": "Belgium",
                            "shortname": "BEL",
                            "logo": ""
                        }
                    },
                    "datestart": "2019-01-19 12:00:00",
                    "dateend": "2019-01-19 14:00:00",
                    "timestampstart": "1547899200",
                    "timestampend": "1547906400",
                    "result": {
                        "home": "2",
                        "away": "2",
                        "winner": "",
                        "text": "Match Tied (2-2)",
                        "tie": "true"
                    },
                    "status": "2",
                    "status_str": "result",
                    "gamestate": "7",
                    "gamestate_str": "Unknown",
                    "verified": "true",
                    "presquad": "false",
                    "competition": {
                        "cid": "2",
                        "cname": "FIH Mens 2019",
                        "startdate": "2019-01-19",
                        "enddate": "2019-06-30",
                        "startdatetimestamp": "1547856000",
                        "endtdatetimestamp": "1561852800",
                        "year": "2019",
                        "status": "2",
                        "status_str": "completed",
                        "logo": ""
                    },
                    "venue": ""
                }
            ],
            "total_items": 60,
            "total_pages": 60
        },
        "etag": "8d9a5b1b64ec7ae01129010a801ccfc9",
        "modified": "2019-12-31 14:06:35",
        "datetime": "2019-12-31 14:06:35",
        "api_version": "1.0"
    }
    
    

    This API has list of all matches user have access.

    Request

    Parameter Value Description
    status string status code 1 = upcoming, 2 = result, 3 = live, 4 = cancelled.
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid string match id
    round_id string match round id details.
    round_name string match round name details.
    title string match title details.
    subtitle string match sub title details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    result array An array of match result details. see result object reference
    status string Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate string Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team id, draw in case of equal scores
    text string text note of match result.
    tie string if match is tied true else false.

    Home/Away Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    shortname string team short name
    logo string team logo url

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Match Info API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/matches/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": "1",
                    "round_id": "",
                    "round_name": "",
                    "title": "Spain vs Belgium",
                    "subtitle": "spain vs belgium",
                    "teams": {
                        "home": {
                            "tid": "8",
                            "tname": "Spain",
                            "shortname": "ESP",
                            "logo": ""
                        },
                        "away": {
                            "tid": "3",
                            "tname": "Belgium",
                            "shortname": "BEL",
                            "logo": ""
                        }
                    },
                    "datestart": "2019-01-19 12:00:00",
                    "dateend": "2019-01-19 14:00:00",
                    "timestampstart": "1547899200",
                    "timestampend": "1547906400",
                    "result": {
                        "home": "2",
                        "away": "2",
                        "winner": "",
                        "text": "Match Tied (2-2)",
                        "tie": "true"
                    },
                    "status": "2",
                    "status_str": "result",
                    "gamestate": "7",
                    "gamestate_str": "Unknown",
                    "verified": "true",
                    "presquad": "false",
                    "competition": {
                        "cid": "2",
                        "cname": "FIH Mens 2019",
                        "startdate": "2019-01-19",
                        "enddate": "2019-06-30",
                        "startdatetimestamp": "1547856000",
                        "endtdatetimestamp": "1561852800",
                        "year": "2019",
                        "status": "2",
                        "status_str": "completed",
                        "logo": ""
                    },
                    "venue": ""
                },
                "lineup": {
                    "home": [
                        {
                            "pid": "212",
                            "name": "Quico Cortes",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "214",
                            "name": "Sergi Enrique",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "216",
                            "name": "Marc Serrahima",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "217",
                            "name": "Ignacio Rodriguez",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "219",
                            "name": "Enrique Gonzalez",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "220",
                            "name": "Alvaro Iglesias",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "221",
                            "name": "Marc Salles",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "true"
                        },
                        {
                            "pid": "226",
                            "name": "Xavi Lleonart",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "230",
                            "name": "Vicenc Ruiz",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "232",
                            "name": "Josep Romeu",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "234",
                            "name": "Pau Quemada",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "236",
                            "name": "Marc Miralles",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "231",
                            "name": "Albert Beltran",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "235",
                            "name": "Marc Bolto",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "223",
                            "name": "Ricardo Santana",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "227",
                            "name": "Alejandro De Frutos",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "229",
                            "name": "Marc Garcia",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "233",
                            "name": "Mario Garin",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "false",
                            "captain": "false"
                        }
                    ],
                    "away": [
                        {
                            "pid": "61",
                            "name": "Arthur Van Doren",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "65",
                            "name": "Florent Van Aubel",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "69",
                            "name": "Gauthier Boccard",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "70",
                            "name": "Nicolas De Kerpel",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "75",
                            "name": "Maxime Plennevaux",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "77",
                            "name": "Vincent Vanasch",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "79",
                            "name": "Arthur De Sloover",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "80",
                            "name": "Antoine Kina",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "81",
                            "name": "Lock Luypaert",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "82",
                            "name": "Victor Wegnez",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "83",
                            "name": "Tom Boon",
                            "starting11": "true",
                            "substitute": "false",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "66",
                            "name": "Sbastien Dockier",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "73",
                            "name": "Alexander Hendrickx",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "62",
                            "name": "Nicolas Poncelet",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "71",
                            "name": "Augustin Meurmans",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "74",
                            "name": "Thomas Briels",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "true"
                        },
                        {
                            "pid": "84",
                            "name": "Tanguy Cosyns",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "true",
                            "captain": "false"
                        },
                        {
                            "pid": "60",
                            "name": "Loic Van Doren",
                            "starting11": "false",
                            "substitute": "true",
                            "played": "false",
                            "captain": "false"
                        }
                    ]
                },
                "goals": [
                    {
                        "minutes": "37",
                        "team_id": "3",
                        "player_id": "75",
                        "player_name": "Maxime Plennevaux",
                        "type": "field goal",
                        "event": "goal"
                    },
                    {
                        "minutes": "55",
                        "team_id": "3",
                        "player_id": "73",
                        "player_name": "Alexander Hendrickx",
                        "type": "penalty corner",
                        "event": "goal"
                    },
                    {
                        "minutes": "58",
                        "team_id": "8",
                        "player_id": "217",
                        "player_name": "Ignacio Rodriguez",
                        "type": "penalty corner",
                        "event": "goal"
                    },
                    {
                        "minutes": "60",
                        "team_id": "8",
                        "player_id": "219",
                        "player_name": "Enrique Gonzalez",
                        "type": "field goal",
                        "event": "goal"
                    }
                ],
                "card": [
                    {
                        "minutes": "46",
                        "team_id": "8",
                        "player_id": "214",
                        "player_name": "Sergi Enrique",
                        "type": "green",
                        "event": "card"
                    }
                ],
                "shootout": [
                    {
                        "team_id": "3",
                        "player_id": "65",
                        "player_name": "Florent Van Aubel",
                        "type": "save",
                        "event": "shootout"
                    },
                    {
                        "team_id": "8",
                        "player_id": "220",
                        "player_name": "Alvaro Iglesias",
                        "type": "goal",
                        "event": "shootout"
                    },
                    {
                        "team_id": "3",
                        "player_id": "80",
                        "player_name": "Antoine Kina",
                        "type": "save",
                        "event": "shootout"
                    },
                    {
                        "team_id": "8",
                        "player_id": "226",
                        "player_name": "Xavi Lleonart",
                        "type": "save",
                        "event": "shootout"
                    },
                    {
                        "team_id": "3",
                        "player_id": "79",
                        "player_name": "Arthur De Sloover",
                        "type": "save",
                        "event": "shootout"
                    },
                    {
                        "team_id": "8",
                        "player_id": "214",
                        "player_name": "Sergi Enrique",
                        "type": "save",
                        "event": "shootout"
                    },
                    {
                        "team_id": "8",
                        "player_id": "232",
                        "player_name": "Josep Romeu",
                        "type": "goal",
                        "event": "shootout"
                    },
                    {
                        "team_id": "3",
                        "player_id": "82",
                        "player_name": "Victor Wegnez",
                        "type": "save",
                        "event": "shootout"
                    }
                ],
                "team_stats": {
                    "home": {
                        "all": {
                            "possession": "56.50",
                            "shots": "6",
                            "passingaccuracy": "69.75",
                            "totalcircleentries": "11",
                            "totalpenaltycorner": "3",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "1",
                            "totalredcard": "0"
                        },
                        "firstquarter": {
                            "possession": "64",
                            "shots": "0",
                            "passingaccuracy": "74",
                            "totalcircleentries": "2",
                            "totalpenaltycorner": "0",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        },
                        "secondquarter": {
                            "possession": "63",
                            "shots": "1",
                            "passingaccuracy": "65",
                            "totalcircleentries": "3",
                            "totalpenaltycorner": "0",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        },
                        "thirdquarter": {
                            "possession": "44",
                            "shots": "2",
                            "passingaccuracy": "71",
                            "totalcircleentries": "2",
                            "totalpenaltycorner": "2",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        },
                        "fourthquarter": {
                            "possession": "55",
                            "shots": "3",
                            "passingaccuracy": "69",
                            "totalcircleentries": "4",
                            "totalpenaltycorner": "1",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "1",
                            "totalredcard": "0"
                        }
                    },
                    "away": {
                        "all": {
                            "possession": "43.50",
                            "shots": "13",
                            "passingaccuracy": "71.50",
                            "totalcircleentries": "16",
                            "totalpenaltycorner": "1",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        },
                        "firstquarter": {
                            "possession": "36",
                            "shots": "1",
                            "passingaccuracy": "67",
                            "totalcircleentries": "3",
                            "totalpenaltycorner": "0",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        },
                        "secondquarter": {
                            "possession": "37",
                            "shots": "4",
                            "passingaccuracy": "74",
                            "totalcircleentries": "3",
                            "totalpenaltycorner": "0",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        },
                        "thirdquarter": {
                            "possession": "56",
                            "shots": "4",
                            "passingaccuracy": "77",
                            "totalcircleentries": "6",
                            "totalpenaltycorner": "0",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        },
                        "fourthquarter": {
                            "possession": "45",
                            "shots": "4",
                            "passingaccuracy": "68",
                            "totalcircleentries": "4",
                            "totalpenaltycorner": "1",
                            "totalpenaltystrokes": "0",
                            "totalyellowcard": "0",
                            "totalgreencard": "0",
                            "totalredcard": "0"
                        }
                    }
                },
                "player_stats": {
                    "home": [
                        {
                            "pid": "212",
                            "name": "Quico Cortes",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "saves": "6",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "214",
                            "name": "Sergi Enrique",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "70",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "3",
                            "blocks": "0",
                            "circlepenetration": "1",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "1",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "216",
                            "name": "Marc Serrahima",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "25",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "1",
                            "circlepenetration": "0",
                            "shotongoal": "1",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "217",
                            "name": "Ignacio Rodriguez",
                            "minutesplayed": "52",
                            "goals": "1",
                            "passes": "16",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "1",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "219",
                            "name": "Enrique Gonzalez",
                            "minutesplayed": "34",
                            "goals": "1",
                            "passes": "10",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "2",
                            "blocks": "0",
                            "circlepenetration": "2",
                            "shotongoal": "1",
                            "goalsconceded": "0",
                            "penaltycornerearned": "1",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "220",
                            "name": "Alvaro Iglesias",
                            "minutesplayed": "34",
                            "goals": "0",
                            "passes": "10",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "1",
                            "circlepenetration": "1",
                            "shotongoal": "0",
                            "goalsconceded": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "221",
                            "name": "Marc Salles",
                            "minutesplayed": "52",
                            "goals": "0",
                            "passes": "30",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "3",
                            "interceptions": "1",
                            "blocks": "1",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "223",
                            "name": "Ricardo Santana",
                            "minutesplayed": "8",
                            "goals": "0",
                            "passes": "10",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "1",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "226",
                            "name": "Xavi Lleonart",
                            "minutesplayed": "52",
                            "goals": "0",
                            "passes": "18",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "3",
                            "interceptions": "1",
                            "blocks": "0",
                            "circlepenetration": "2",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "227",
                            "name": "Alejandro De Frutos",
                            "minutesplayed": "8",
                            "goals": "0",
                            "passes": "7",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "1",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "229",
                            "name": "Marc Garcia",
                            "minutesplayed": "8",
                            "goals": "0",
                            "passes": "6",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "1",
                            "blocks": "1",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "230",
                            "name": "Vicenc Ruiz",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "16",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "1",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "231",
                            "name": "Albert Beltran",
                            "minutesplayed": "26",
                            "goals": "0",
                            "passes": "4",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "232",
                            "name": "Josep Romeu",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "48",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "3",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "233",
                            "name": "Mario Garin",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "234",
                            "name": "Pau Quemada",
                            "minutesplayed": "34",
                            "goals": "0",
                            "passes": "8",
                            "assists": "2",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "3",
                            "shotongoal": "1",
                            "goalsconceded": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "235",
                            "name": "Marc Bolto",
                            "minutesplayed": "26",
                            "goals": "0",
                            "passes": "4",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "1",
                            "shotongoal": "1",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "236",
                            "name": "Marc Miralles",
                            "minutesplayed": "26",
                            "goals": "0",
                            "passes": "6",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "1",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        }
                    ],
                    "away": [
                        {
                            "pid": "60",
                            "name": "Loic Van Doren",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "61",
                            "name": "Arthur Van Doren",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "47",
                            "assists": "1",
                            "saves": "0",
                            "tackles": "4",
                            "interceptions": "3",
                            "blocks": "3",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "62",
                            "name": "Nicolas Poncelet",
                            "minutesplayed": "2",
                            "goals": "0",
                            "passes": "5",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "1",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "66",
                            "name": "Sbastien Dockier",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "1",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "69",
                            "name": "Gauthier Boccard",
                            "minutesplayed": "58",
                            "goals": "0",
                            "passes": "22",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "1",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "70",
                            "name": "Nicolas De Kerpel",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "17",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "1",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "79",
                            "name": "Arthur De Sloover",
                            "minutesplayed": "57",
                            "goals": "0",
                            "passes": "24",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "1",
                            "blocks": "1",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "80",
                            "name": "Antoine Kina",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "9",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "2",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "81",
                            "name": "Lock Luypaert",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "51",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "1",
                            "blocks": "3",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "82",
                            "name": "Victor Wegnez",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "23",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "1",
                            "blocks": "0",
                            "circlepenetration": "2",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "83",
                            "name": "Tom Boon",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "5",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "3",
                            "shotongoal": "3",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "84",
                            "name": "Tanguy Cosyns",
                            "minutesplayed": "4",
                            "goals": "0",
                            "passes": "3",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "1",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "71",
                            "name": "Augustin Meurmans",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "11",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "73",
                            "name": "Alexander Hendrickx",
                            "minutesplayed": "3",
                            "goals": "1",
                            "passes": "11",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "2",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "1",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "74",
                            "name": "Thomas Briels",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "7",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "2",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "1",
                            "goalsconceded": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "75",
                            "name": "Maxime Plennevaux",
                            "minutesplayed": "58",
                            "goals": "1",
                            "passes": "2",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "2",
                            "shotongoal": "1",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "77",
                            "name": "Vincent Vanasch",
                            "minutesplayed": "60",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "saves": "3",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "0",
                            "shotongoal": "0",
                            "goalsconceded": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        },
                        {
                            "pid": "65",
                            "name": "Florent Van Aubel",
                            "minutesplayed": "58",
                            "goals": "0",
                            "passes": "10",
                            "assists": "0",
                            "saves": "0",
                            "tackles": "1",
                            "interceptions": "0",
                            "blocks": "0",
                            "circlepenetration": "4",
                            "shotongoal": "3",
                            "goalsconceded": "1",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "penaltystrokesaved": "0",
                            "penaltystrokemissed": "0",
                            "greencard": "0",
                            "yellowcard": "0",
                            "redcard": "0"
                        }
                    ]
                },
                "umpire": [
                    {
                        "pid": "241",
                        "name": "Jose Vidal Juan",
                        "role": "sj"
                    },
                    {
                        "pid": "242",
                        "name": "Vicente Villanueva",
                        "role": "tj"
                    },
                    {
                        "pid": "243",
                        "name": "Christian Deckenbrock",
                        "role": "to"
                    },
                    {
                        "pid": "244",
                        "name": "Christian Blasch",
                        "role": "u1"
                    },
                    {
                        "pid": "245",
                        "name": "Martin Madden",
                        "role": "u2"
                    },
                    {
                        "pid": "246",
                        "name": "Coen Van Bunge",
                        "role": "vu"
                    }
                ]
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "6490e4b9b304f9d1aa65209994ec6fa8",
        "modified": "2019-12-31 14:30:19",
        "datetime": "2019-12-31 14:30:19",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match projection, events, commentary, lineup details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    lineup array An array of match lineup details. see lineup object reference
    goals array An array of goals details. see goals object reference
    card array An array of card details. see card object reference
    shootout array An array of shootout details. see shootout object reference
    team_stats array An array of team stats details. see team stats object reference
    player_stats array An array of player stats details. see player stats object reference
    umpire array An array of match umpire details. see umpire object reference

    Match Info Object Reference

    Parameter Value Description
    mid string match id
    round_id string match round id details.
    round_name string match round name details.
    title string match title details.
    subtitle string match sub title details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    result array An array of match result details. see result object reference
    status string Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate string Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    competition array An array of competition details. see competition object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team id, draw in case of equal scores
    text string text note of match result.
    tie string if match is tied true else false.

    Home/Away Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    shortname string team name
    logo string team logo url

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Lineup Object Reference

    Parameter Value Description
    home array array of home players object details. see home players object reference
    away array array of away players object details. see away players object reference

    Lineup Home/Away Object Reference

    Parameter Value Description
    pid string player id
    name string player position name
    starting11 string players playing in starting11, true if starting11 else false
    substitute string player is a substitute, true if substitute else false
    played string player played or not, true if played else false
    captain string player is captain or not, true if captain else false

    Match Goals Object Reference

    Parameter Value Description
    minutes string minute time when goal scored
    team_id string team id of goal scoring player
    player_id string player id
    player_name string player name
    type string goal type
    event string event name

    Match Card Object Reference

    Parameter Value Description
    minutes string minute time when card awarded
    team_id string team id of the player
    player_id string player id
    player_name string player name
    type string card type
    event string event name

    Match Shootout Object Reference

    Parameter Value Description
    team_id string team id of the player
    player_id string player id
    player_name string player name
    type string shootout event type
    event string event name

    Match Team Stats Object Reference

    Parameter Value Description
    possession string team ball possession percentage
    shots string total shots by team
    passingaccuracy string team passing accuracy
    totalcircleentries string total circle enties by team
    totalpenaltycorner string total penalty corner
    totalpenaltystrokes string total penalty strokes
    totalyellowcard string total yellow card
    totalgreencard string total green card
    totalredcard string total red card

    Match Player Stats Object Reference

    Parameter Value Description
    pid string player id
    name string player name
    minutesplayed string minutes played by the player
    goals string goals scored by the player
    passes string number of passes by the player
    assists string assists by the player
    tackles string tackles won by the player
    interceptions string interceptions by the player
    blocks string blocks by the player
    circlepenetration string circle penetration by the player
    shotongoal string shots on target by the player
    goalsconceded string goals conceded by the player
    penaltycornerearned string penalty corner earned by the player
    penaltystrokeearned string penalty stroke earned by the player
    penaltystrokesaved string penalty stroke saved by the player
    penaltystrokemissed string penalty stroke missed by the player
    greencard string number of green card awarded to player
    yellowcard string number of yellow card awarded to player
    redcard string number of red card awarded to player

    Match Umpire Object Reference

    Parameter Value Description
    pid string umpire id
    name string umpire name

    Match Fantasy API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/matches/1/fantasy?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": "1",
                    "round_id": "",
                    "round_name": "",
                    "title": "Spain vs Belgium",
                    "subtitle": "spain vs belgium",
                    "teams": {
                        "home": {
                            "tid": "8",
                            "tname": "Spain",
                            "shortname": "ESP",
                            "logo": ""
                        },
                        "away": {
                            "tid": "3",
                            "tname": "Belgium",
                            "shortname": "BEL",
                            "logo": ""
                        }
                    },
                    "datestart": "2019-01-19 12:00:00",
                    "dateend": "2019-01-19 14:00:00",
                    "timestampstart": "1547899200",
                    "timestampend": "1547906400",
                    "result": {
                        "home": "2",
                        "away": "2",
                        "winner": "",
                        "text": "Match Tied (2-2)",
                        "tie": "true"
                    },
                    "status": "2",
                    "status_str": "result",
                    "gamestate": "7",
                    "gamestate_str": "Unknown",
                    "verified": "true",
                    "presquad": "false",
                    "competition": {
                        "cid": "2",
                        "cname": "FIH Mens 2019",
                        "startdate": "2019-01-19",
                        "enddate": "2019-06-30",
                        "startdatetimestamp": "1547856000",
                        "endtdatetimestamp": "1561852800",
                        "year": "2019",
                        "status": "2",
                        "status_str": "completed",
                        "logo": ""
                    },
                    "venue": ""
                },
                "fantasy_squad": {
                    "home": [
                        {
                            "pid": "212",
                            "name": "Quico Cortes",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "213",
                            "name": "Marc Perellon",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "214",
                            "name": "Sergi Enrique",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "215",
                            "name": "Ricardo Sanchez",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "216",
                            "name": "Marc Serrahima",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "217",
                            "name": "Ignacio Rodriguez",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "218",
                            "name": "Miguel Delas",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "219",
                            "name": "Enrique Gonzalez",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "220",
                            "name": "Alvaro Iglesias",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "221",
                            "name": "Marc Salles",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "222",
                            "name": "Joan Tarres",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "223",
                            "name": "Ricardo Santana",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "224",
                            "name": "Diego Arana",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "225",
                            "name": "Llorenc Piera",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "226",
                            "name": "Xavi Lleonart",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "227",
                            "name": "Alejandro De Frutos",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "228",
                            "name": "Ignasi Torras",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "229",
                            "name": "Marc Garcia",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "230",
                            "name": "Vicenc Ruiz",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "231",
                            "name": "Albert Beltran",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "232",
                            "name": "Josep Romeu",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "233",
                            "name": "Mario Garin",
                            "role": "goalkeeper",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "234",
                            "name": "Pau Quemada",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "235",
                            "name": "Marc Bolto",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "236",
                            "name": "Marc Miralles",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "237",
                            "name": "Xavier Gispert",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "238",
                            "name": "Marc Recasens",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "239",
                            "name": "Albert Perez",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "240",
                            "name": "Alvaro Negrete",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        }
                    ],
                    "away": [
                        {
                            "pid": "59",
                            "name": "Amaury Timmermans",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "60",
                            "name": "Loic Van Doren",
                            "role": "goalkeeper",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "61",
                            "name": "Arthur Van Doren",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "62",
                            "name": "Nicolas Poncelet",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "63",
                            "name": "Dorian Thiery",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "64",
                            "name": "John-john Dohmen",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "65",
                            "name": "Florent Van Aubel",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "66",
                            "name": "Sbastien Dockier",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "67",
                            "name": "Cdric Charlier",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "68",
                            "name": "Amaury Keusters",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "69",
                            "name": "Gauthier Boccard",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "70",
                            "name": "Nicolas De Kerpel",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "71",
                            "name": "Augustin Meurmans",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "72",
                            "name": "Emmanuel Stockbroekx",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "73",
                            "name": "Alexander Hendrickx",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "74",
                            "name": "Thomas Briels",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "75",
                            "name": "Maxime Plennevaux",
                            "role": "striker",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "76",
                            "name": "Felix Denayer",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "77",
                            "name": "Vincent Vanasch",
                            "role": "goalkeeper",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "78",
                            "name": "Simon Gougnard",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "79",
                            "name": "Arthur De Sloover",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "80",
                            "name": "Antoine Kina",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "81",
                            "name": "Lock Luypaert",
                            "role": "defender",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "82",
                            "name": "Victor Wegnez",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "83",
                            "name": "Tom Boon",
                            "role": "midfielder",
                            "fantasy_credit": "8"
                        },
                        {
                            "pid": "84",
                            "name": "Tanguy Cosyns",
                            "role": "striker",
                            "fantasy_credit": "8"
                        }
                    ]
                },
                "points": {
                    "home": [
                        {
                            "pid": "212",
                            "name": "Quico Cortes",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "-9",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "214",
                            "name": "Sergi Enrique",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "71",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "70",
                            "assists": "0",
                            "circlepenetration": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "-2",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "4",
                            "interceptions": "6",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "216",
                            "name": "Marc Serrahima",
                            "role": "defender",
                            "fantasy_credit": "8",
                            "point": "18",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "25",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-20",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "4",
                            "interceptions": "0",
                            "blocks": "2",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "217",
                            "name": "Ignacio Rodriguez",
                            "role": "defender",
                            "fantasy_credit": "8",
                            "point": "75",
                            "minutesplayed": "3",
                            "goals": "60",
                            "passes": "16",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-10",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "219",
                            "name": "Enrique Gonzalez",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "72",
                            "minutesplayed": "6",
                            "goals": "40",
                            "passes": "10",
                            "assists": "0",
                            "circlepenetration": "4",
                            "penaltycornerearned": "4",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "4",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "220",
                            "name": "Alvaro Iglesias",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "20",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "10",
                            "assists": "0",
                            "circlepenetration": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "2",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "221",
                            "name": "Marc Salles",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "37",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "30",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-6",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "6",
                            "interceptions": "2",
                            "blocks": "2",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "223",
                            "name": "Ricardo Santana",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "14",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "10",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-6",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "2",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "226",
                            "name": "Xavi Lleonart",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "27",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "18",
                            "assists": "0",
                            "circlepenetration": "4",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-6",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "6",
                            "interceptions": "2",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "227",
                            "name": "Alejandro De Frutos",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "11",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "7",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-6",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "2",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "229",
                            "name": "Marc Garcia",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "12",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "6",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-6",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "2",
                            "blocks": "2",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "230",
                            "name": "Vicenc Ruiz",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "9",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "16",
                            "assists": "0",
                            "circlepenetration": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "231",
                            "name": "Albert Beltran",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "10",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "4",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "232",
                            "name": "Josep Romeu",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "49",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "48",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "4",
                            "interceptions": "6",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "233",
                            "name": "Mario Garin",
                            "role": "goalkeeper",
                            "fantasy_credit": "8",
                            "point": "0",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "234",
                            "name": "Pau Quemada",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "74",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "8",
                            "assists": "48",
                            "circlepenetration": "6",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "235",
                            "name": "Marc Bolto",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "18",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "4",
                            "assists": "0",
                            "circlepenetration": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "236",
                            "name": "Marc Miralles",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "6",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "6",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        }
                    ],
                    "away": [
                        {
                            "pid": "60",
                            "name": "Loic Van Doren",
                            "role": "goalkeeper",
                            "fantasy_credit": "8",
                            "point": "0",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "61",
                            "name": "Arthur Van Doren",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "82",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "47",
                            "assists": "24",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "8",
                            "interceptions": "6",
                            "blocks": "6",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "62",
                            "name": "Nicolas Poncelet",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "13",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "5",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "2",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "66",
                            "name": "Sbastien Dockier",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "5",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "1",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "4",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "69",
                            "name": "Gauthier Boccard",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "21",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "22",
                            "assists": "0",
                            "circlepenetration": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-6",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "70",
                            "name": "Nicolas De Kerpel",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "12",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "17",
                            "assists": "0",
                            "circlepenetration": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "79",
                            "name": "Arthur De Sloover",
                            "role": "defender",
                            "fantasy_credit": "8",
                            "point": "23",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "24",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-10",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "2",
                            "blocks": "2",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "80",
                            "name": "Antoine Kina",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "4",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "9",
                            "assists": "0",
                            "circlepenetration": "4",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "81",
                            "name": "Lock Luypaert",
                            "role": "defender",
                            "fantasy_credit": "8",
                            "point": "46",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "51",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-20",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "4",
                            "interceptions": "2",
                            "blocks": "6",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "82",
                            "name": "Victor Wegnez",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "20",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "23",
                            "assists": "0",
                            "circlepenetration": "4",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "2",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "83",
                            "name": "Tom Boon",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "16",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "5",
                            "assists": "0",
                            "circlepenetration": "6",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-12",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "12",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "84",
                            "name": "Tanguy Cosyns",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "11",
                            "minutesplayed": "6",
                            "goals": "0",
                            "passes": "3",
                            "assists": "0",
                            "circlepenetration": "2",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "71",
                            "name": "Augustin Meurmans",
                            "role": "midfielder",
                            "fantasy_credit": "8",
                            "point": "11",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "11",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "73",
                            "name": "Alexander Hendrickx",
                            "role": "defender",
                            "fantasy_credit": "8",
                            "point": "75",
                            "minutesplayed": "6",
                            "goals": "60",
                            "passes": "11",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-10",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "4",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "74",
                            "name": "Thomas Briels",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "15",
                            "minutesplayed": "0",
                            "goals": "0",
                            "passes": "7",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "0",
                            "interceptions": "4",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "75",
                            "name": "Maxime Plennevaux",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "55",
                            "minutesplayed": "3",
                            "goals": "40",
                            "passes": "2",
                            "assists": "0",
                            "circlepenetration": "4",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "4",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "77",
                            "name": "Vincent Vanasch",
                            "role": "goalkeeper",
                            "fantasy_credit": "8",
                            "point": "-1",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "0",
                            "assists": "0",
                            "circlepenetration": "0",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "-40",
                            "penaltystrokesaved": "0",
                            "saves": "36",
                            "tackles": "0",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "0",
                            "cleansheet": "0"
                        },
                        {
                            "pid": "65",
                            "name": "Florent Van Aubel",
                            "role": "striker",
                            "fantasy_credit": "8",
                            "point": "35",
                            "minutesplayed": "3",
                            "goals": "0",
                            "passes": "10",
                            "assists": "0",
                            "circlepenetration": "8",
                            "penaltycornerearned": "0",
                            "penaltystrokeearned": "0",
                            "greencard": "0",
                            "redcard": "0",
                            "yellowcard": "0",
                            "penaltystrokemissed": "0",
                            "goalsconceded": "0",
                            "penaltystrokesaved": "0",
                            "saves": "0",
                            "tackles": "2",
                            "interceptions": "0",
                            "blocks": "0",
                            "shotongoal": "12",
                            "cleansheet": "0"
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "2d708d9e6fa2d83bcff4aac329c77ec0",
        "modified": "2019-12-31 17:16:58",
        "datetime": "2019-12-31 17:16:58",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match team and player stats details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    fantasy_squad array An array of home/away team players role and credit details. see fantasy squad object reference
    points array An array of player match fantasy points details. see player fantasy points object reference

    Match Fantasy Squad Object Reference

    Parameter Value Description
    pid string player id
    name string player name
    role string player fantasy playing role
    fantasy_credit string player fantasy credit

    Fantasy Points Reference

    Parameter Value Description
    pid string player id
    name string player name
    role string player fantasy playing role
    fantasy_credit string player fantasy credit
    point string total fantasy points of player
    minutesplayed string points for minutes played
    goals string points for goals scored
    passes string passes points
    assists string assists points
    circlepenetration string circle penetration points
    penaltycornerearned string penalty corner earned points
    penaltystrokeearned string penalty stroke earned points
    greencard string green card points
    redcard string red card points
    yellowcard string yellow card points
    penaltystrokemissed string penalty stroke missed points
    goalsconceded string goals conceded points
    penaltystrokesaved string penalty stroke saved
    saves string saves points
    tackles string tackles points
    interceptions string interceptions points
    blocks string blocks points
    shotongoal string shot on target points
    cleansheet string cleansheet points

    Teams List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/teams?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "1",
                    "tname": "Argentina",
                    "shortname": "ARG",
                    "sex": "",
                    "city": "",
                    "founded": "",
                    "website": "",
                    "twitter": "argfieldhockey",
                    "instagram": "",
                    "teamlogo": "",
                    "teamurl": "team/1/info",
                    "teammatches_url": "team/1/matches"
                }
            ],
            "total_items": "8",
            "total_pages": 8
        },
        "etag": "e73845dad73f8064873ecb7b3a775d7a",
        "modified": "2019-12-31 17:33:20",
        "datetime": "2019-12-31 17:33:20",
        "api_version": "1.0"
    }
    
    

    This API lists all the teams available to access.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    tid string team id
    tname string team name
    shortname string team short name
    sex string team gender
    city string team city name
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    instagram string instagram hastag
    teamlogo string team logo url
    team_url string team info url
    team_matches_url string team matches list url

    Team Info API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/team/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "1",
                    "tname": "Argentina",
                    "shortname": "ARG",
                    "sex": "",
                    "city": "",
                    "founded": "",
                    "website": "",
                    "twitter": "argfieldhockey",
                    "instagram": "",
                    "coach": "Colin Batch",
                    "teamlogo": "",
                    "squads": [
                        {
                            "pid": "1",
                            "fullname": "Juan Vivaldi",
                            "birthdate": "1979-07-17",
                            "nationality": "argentina",
                            "positiontype": "GK",
                            "positionname": "goalkeeper",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "1"
                        },
                        {
                            "pid": "2",
                            "fullname": "Gonzalo Peillat",
                            "birthdate": "1992-08-12",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "2"
                        },
                        {
                            "pid": "3",
                            "fullname": "Emiliano Bosso",
                            "birthdate": "1995-12-03",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "3"
                        },
                        {
                            "pid": "4",
                            "fullname": "Juan Catan",
                            "birthdate": "1995-10-05",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "4"
                        },
                        {
                            "pid": "5",
                            "fullname": "Pedro Ibarra",
                            "birthdate": "1985-09-11",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "5"
                        },
                        {
                            "pid": "6",
                            "fullname": "Santiago Tarazona",
                            "birthdate": "1996-05-31",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "6"
                        },
                        {
                            "pid": "7",
                            "fullname": "Nicolas Keenan",
                            "birthdate": "1997-05-06",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "7"
                        },
                        {
                            "pid": "8",
                            "fullname": "Federico Moreschi",
                            "birthdate": "1999-02-13",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "8"
                        },
                        {
                            "pid": "9",
                            "fullname": "Maico Casella",
                            "birthdate": "1997-06-05",
                            "nationality": "argentina",
                            "positiontype": "ST",
                            "positionname": "striker",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "9"
                        },
                        {
                            "pid": "10",
                            "fullname": "Matias Paredes",
                            "birthdate": "1982-02-01",
                            "nationality": "argentina",
                            "positiontype": "ST",
                            "positionname": "striker",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "10"
                        },
                        {
                            "pid": "11",
                            "fullname": "Joaquin Menini",
                            "birthdate": "1991-08-18",
                            "nationality": "argentina",
                            "positiontype": "ST",
                            "positionname": "striker",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "11"
                        },
                        {
                            "pid": "12",
                            "fullname": "Lucas Vila",
                            "birthdate": "1986-08-23",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "12"
                        },
                        {
                            "pid": "13",
                            "fullname": "Jose Tolini",
                            "birthdate": "1990-03-14",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "13"
                        },
                        {
                            "pid": "14",
                            "fullname": "Nicolas Della Torre",
                            "birthdate": "1990-03-01",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "14"
                        },
                        {
                            "pid": "15",
                            "fullname": "Ignacio Ortiz",
                            "birthdate": "1987-07-26",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "16"
                        },
                        {
                            "pid": "16",
                            "fullname": "Juan Lopez",
                            "birthdate": "1985-05-27",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "17"
                        },
                        {
                            "pid": "17",
                            "fullname": "Federico Monja",
                            "birthdate": "1993-09-12",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "18"
                        },
                        {
                            "pid": "18",
                            "fullname": "Tomas Bettaglio",
                            "birthdate": "1991-09-23",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "19"
                        },
                        {
                            "pid": "19",
                            "fullname": "Isidoro Ibarra",
                            "birthdate": "1992-10-02",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "20"
                        },
                        {
                            "pid": "20",
                            "fullname": "Tomas Santiago",
                            "birthdate": "1992-06-15",
                            "nationality": "argentina",
                            "positiontype": "GK",
                            "positionname": "goalkeeper",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "21"
                        },
                        {
                            "pid": "21",
                            "fullname": "Matias Rey",
                            "birthdate": "1984-12-01",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "22"
                        },
                        {
                            "pid": "22",
                            "fullname": "Lucas Martinez",
                            "birthdate": "1993-11-17",
                            "nationality": "argentina",
                            "positiontype": "ST",
                            "positionname": "striker",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "23"
                        },
                        {
                            "pid": "23",
                            "fullname": "Nicolas Cicileo",
                            "birthdate": "1993-10-01",
                            "nationality": "argentina",
                            "positiontype": "DEF",
                            "positionname": "defender",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "24"
                        },
                        {
                            "pid": "24",
                            "fullname": "Nicolas Acosta",
                            "birthdate": "1996-07-07",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "25"
                        },
                        {
                            "pid": "25",
                            "fullname": "Agustin Mazzilli",
                            "birthdate": "1989-06-20",
                            "nationality": "argentina",
                            "positiontype": "ST",
                            "positionname": "striker",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "26"
                        },
                        {
                            "pid": "26",
                            "fullname": "Lucas Rossi",
                            "birthdate": "1985-06-02",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "27"
                        },
                        {
                            "pid": "27",
                            "fullname": "Federico Fernandez",
                            "birthdate": "1992-02-28",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "28"
                        },
                        {
                            "pid": "28",
                            "fullname": "Thomas Habif",
                            "birthdate": "1996-05-27",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "29"
                        },
                        {
                            "pid": "29",
                            "fullname": "Agustin Bugallo",
                            "birthdate": "1995-04-23",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "30"
                        },
                        {
                            "pid": "30",
                            "fullname": "Lucas Toscani",
                            "birthdate": "1999-09-22",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "31"
                        },
                        {
                            "pid": "31",
                            "fullname": "Martin Ferreiro",
                            "birthdate": "1997-10-21",
                            "nationality": "argentina",
                            "positiontype": "MID",
                            "positionname": "midfielder",
                            "height": "",
                            "weight": "",
                            "shirtnumber": "32"
                        }
                    ]
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "5d3887673e116118e5127a1edb01950e",
        "modified": "2019-12-31 17:36:22",
        "datetime": "2019-12-31 17:36:22",
        "api_version": "1.0"
    }
    
    

    This API contains team info and squad/roaster player details.

    Request

    Parameter Value Description
    tid string team id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    tid string team id
    tname string team name
    shortname string team short name
    sex string team gender
    city string team city name
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    instagram string instagram hastag
    teamlogo string team logo url
    team_url string team info url
    team_matches_url string team matches list url
    squads array An array of team player details. see squads object reference

    Squads Object Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality string country name
    positionid string player playing position type
    positionname string player playing position name
    height string player height in centimeters
    weight string player weight in kg
    shirtnumber string player shirt number

    Team Matches API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/team/1/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://rest.entitysport.com/hockey/team/1/matches?token=[ACCESS_TOKEN]&status=2"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/hockey/team/1/matches?token=[ACCESS_TOKEN]&status=2&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
     {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": "55",
                    "round_id": "",
                    "round_name": "",
                    "title": "Belgium vs Argentina",
                    "subtitle": "belgium vs argentina",
                    "teams": {
                        "home": {
                            "tid": "3",
                            "tname": "Belgium",
                            "shortname": "BEL",
                            "logo": ""
                        },
                        "away": {
                            "tid": "1",
                            "tname": "Argentina",
                            "shortname": "ARG",
                            "logo": ""
                        }
                    },
                    "datestart": "2019-06-23 11:30:00",
                    "dateend": "2019-06-23 13:30:00",
                    "timestampstart": "1561289400",
                    "timestampend": "1561296600",
                    "result": {
                        "home": "4",
                        "away": "1",
                        "winner": "3",
                        "text": "Belgium Beat Argentina (4-1)",
                        "tie": "false"
                    },
                    "status": "2",
                    "status_str": "result",
                    "gamestate": "1",
                    "gamestate_str": "1st Quarter",
                    "verified": "true",
                    "presquad": "false",
                    "competition": {
                        "cid": "2",
                        "cname": "FIH Mens 2019",
                        "startdate": "2019-01-19",
                        "enddate": "2019-06-30",
                        "startdatetimestamp": "1547856000",
                        "endtdatetimestamp": "1561852800",
                        "year": "2019",
                        "status": "2",
                        "status_str": "completed",
                        "logo": ""
                    },
                    "venue": ""
                }
            ],
            "total_items": 14,
            "total_pages": 14
        },
        "etag": "7755ccb4c1850b6822fb62ac8993200d",
        "modified": "2019-12-31 17:39:06",
        "datetime": "2019-12-31 17:39:06",
        "api_version": "1.0"
    }
    
    

    This API contains the list of team's all matches details.

    Request

    Parameter Value Description
    tid string competition id
    token {ACCESS_TOKEN} API Access token
    status string 1 = upcoming, 2 = result, 3 = live, 4 = postponed, 5 = cancelled
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference

    Player List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/players?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": "1",
                    "fullname": "Juan Vivaldi",
                    "birthdate": "1979-07-17",
                    "sex": "m",
                    "nationality": "argentina",
                    "positiontype": "GK",
                    "positionname": "goalkeeper",
                    "height": "",
                    "weight": "",
                    "jerseyno": "1"
                }
            ],
            "total_items": 606,
            "total_pages": 606
        },
        "etag": "f67de66e149d308df4031fd35f3f9c4d",
        "modified": "2019-12-31 17:41:08",
        "datetime": "2019-12-31 17:41:08",
        "api_version": "1.0"
    }
    
    

    This API contains list of player details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdate string Player Birthdate format - yyyy-mm-dd
    nationality string country name
    positiontype string player playing position type
    positionname string player playing position name
    height string player height in centimeters
    weight string player weight in kg
    jerseyno string player jersey number
    fantasy_credit string player fantasy credit/salary

    Player Profile API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/hockey/player/1/profile?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": "1",
                    "fullname": "Juan Vivaldi",
                    "birthdate": "1979-07-17",
                    "sex": "m",
                    "nationality": "argentina",
                    "positiontype": "GK",
                    "positionname": "goalkeeper",
                    "height": "",
                    "weight": "",
                    "jerseyno": "1"
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "f67de66e149d308df4031fd35f3f9c4d",
        "modified": "2019-12-31 17:41:08",
        "datetime": "2019-12-31 17:41:08",
        "api_version": "1.0"
    }
    
    

    This API contains player profile and career statistic details.

    Request

    Parameter Value Description
    pid string player id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    player_info array array of player profile details. see player_info object reference

    Player Profile Object Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdate string Player Birthdate format - - yyyy-mm-dd
    nationality string country name
    positiontype string player playing position type
    positionname string player playing position name
    height string player height in centimeters
    weight string player weight in kg
    jerseyno string player jersey number
    fantasy_credit string player fantasy credit/salary

    Match status Reference

    Code Description
    1 Upcoming
    2 Result
    3 Live
    4 Canceled

    Match Game State Reference

    Code Description
    0 Not started
    1 1st Quarter
    2 2nd Quarter
    3 3rd Quarter
    4 4th Quarter
    5 Half Time
    6 Shootout
    7 Unknown

    Playing Position Reference

    Code Description
    GK Goalkeeper
    MID Midfielder
    DEF Defender
    ST Striker

    Baseball API

    Getting your Keys

    You will need an active access key and secret key with a valid subsciption to start using our API. Please visit entitysport.com to request your keys and subscription.

    Obtaining Token

    To authorize, use this code:

    curl -X POST "https://rest.entitysport.com/baseball/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY"
    
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "token": "1|X#aFhlzAsd",
            "expires": "12312312312",
        },
        "api_version": "2.0"
    }
    
    

    To access any API, you need a token. A token can be generated using your keys. Token is a piece of information that would allow you to access our API data until your subscription expires. Auth API provides you the token, by validating your keys. Request to our Auth API whenever the access token is expired or unavailable.

    Request

    Response

    Making your First Request

    curl -X GET "https://rest.entitysport.com/baseball/?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "api_doc": "https://doc.entitysport.com/#baseball-api/",
            "status_codes": {
                "ok": "Success",
                "error": "Failure",
                "invalid": "Invalid Request",
                "unauthorized": "Un authorized",
                "noaccess": "No access to requested resource"
            }
        },
        "api_version": "2.0"
    }
    
    

    It's very easy to start using the EntitySport Baseball API. By passing your token as token to our api server, you can get access to our API data instantly.

    https Request

    GET https://rest.entitysport.com/baseball/?token=[ACCESS_TOKEN]

    https Status Code

    All API request will resolve with any of the following https header status.

    Response Code Description
    200 API request valid, informations ready to access
    304 API request valid, but data was not modified since last accessed (compared using Etag)
    400 Client side error. occurs for invalid request
    401 occurs for unauthorized request
    501 Server side error. Internal server error, unable to process your request

    API Response

    
    {
        "status": "ok",
        "response": {},
        "etag": "8fc93de066d8d802a36e0882ecc77fdb",
        "modified": "2017-01-31 16:29:11",
        "datetime": "2017-01-31 16:29:11",
        "api_version": "1.0"
    }
    
    

    All successfull API request will return json output. The basic structure of data is available on all of the calls.

    Status - Possible Values are as follows :

    Status Description
    ok A successfull response
    error if the request contains error
    unauthorized if the request is not authorized, usually for invalid/expired access token
    accessdenied if your app try to access non permitted data

    Pagination

    Parameter Value Description
    per_page Number Number of items to list in each API request
    paged Number Page Number for request

    API Objects

    There are some informations that we call as OBJECT. A response can contain a single object, or multiple objects or no objects at all. It is important get famililar with our objects.

    We have 5 Obejcts in total. A object is a set of data, which contains a unique identifier, and directly relates to other objects. ie: match object connects inning object, team object.

    Each object has a unique identifier which start with the first character of object name, and id as suffix. ie: competition unique identified named as cid, for match it's mid, for player it's pid, for team, it's tid.

    Competitions List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/competitions?token=[ACCESS_TOKEN]"
    

    Using Token and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/baseball/competitions?token=[ACCESS_TOKEN]&per_page=10&paged=1"
    

    Using Token, Pagination and status parameter:

    curl -X GET "https://rest.entitysport.com/baseball/competitions?token=[ACCESS_TOKEN]&status=3&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": "1",
                    "cname": "CPBL",
                    "startdate": "2020-04-11 00:00:00",
                    "enddate": "2020-10-15 00:00:00",
                    "startdatetimestamp": 1586563200,
                    "endtdatetimestamp": 1602720000,
                    "year": "2020",
                    "category": "Chinese Taipei",
                    "ioc_id": "273",
                    "ioc": "tw",
                    "status": "3",
                    "status_str": "live",
                    "logo": "https://basketball.entitysport.com/assets/competition/1.png",
                    "teams": [],
                    "match_url": "competition/1/matches"
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "45e775f783fe64e10064df26c25c2b9d",
        "modified": "2020-04-24 08:11:17",
        "datetime": "2020-04-24 08:11:17",
        "api_version": "1.0"
    }
    
    

    This API lists all available competitions those user are subscribed and can access. This API is a directory of all competitions user have access.

    It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

    Request

    Parameter Value Description
    status string status code for the competition, available status code 1 = upcoming, 2 = completed, 3 = live
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    match_url string Competition matches information API end point url

    Competitions Information API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/competition/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "cid": "1",
                    "cname": "CPBL",
                    "startdate": "2020-04-11 00:00:00",
                    "enddate": "2020-10-15 00:00:00",
                    "startdatetimestamp": 1586563200,
                    "endtdatetimestamp": 1602720000,
                    "year": "2020",
                    "category": "Chinese Taipei",
                    "ioc_id": "273",
                    "ioc": "tw",
                    "status": "3",
                    "status_str": "live",
                    "logo": "https://basketball.entitysport.com/assets/competition/1.png",
                    "teams": [],
                    "match_url": "competition/1/matches"
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "45e775f783fe64e10064df26c25c2b9d",
        "modified": "2020-04-24 08:11:17",
        "datetime": "2020-04-24 08:11:17",
        "api_version": "1.0"
    }
    
    

    This API has competition and it's teams information.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL
    teams array An array of all teams related to the competition. see teams object reference
    match_url string Competition matches information API end point url

    Team Object Reference

    Parameter Value Description
    tid string team id
    tname string team name
    shortname string team short name
    sex string team gender type
    city string team city name
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    instagram string instagram account name
    teamlogo string team logo url

    Competitions Matches API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/competition/1/matches?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 1,
                    "round": {
                        "round": "",
                        "name": ""
                    },
                    "teams": {
                        "home": {
                            "tid": 1,
                            "tname": "Chinatrust Brothers",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/1.png",
                            "fullname": "Chinatrust Brothers",
                            "abbr": "CTB"
                        },
                        "away": {
                            "tid": 2,
                            "tname": "Rakuten Monkeys",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/5e9f7111a990b.png",
                            "fullname": "Rakuten Monkeys",
                            "abbr": "RM"
                        }
                    },
                    "datestart": "2020-04-22 10:35:00",
                    "dateend": "2020-04-22 14:35:00",
                    "timestampstart": "1587551700",
                    "timestampend": "1587566100",
                    "time": "",
                    "result": {
                        "home": "2",
                        "away": "3",
                        "winner": "away"
                    },
                    "inning": "",
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 3,
                    "verified": "true",
                    "presquad": "true",
                    "attendance": 0,
                    "competition": {
                        "cid": 1,
                        "cname": "CPBL",
                        "startdate": "2020-04-11 00:00:00",
                        "enddate": "2020-10-15 00:00:00",
                        "startdatetimestamp": 1586563200,
                        "endtdatetimestamp": 1602720000,
                        "year": "2020",
                        "category": "Chinese Taipei",
                        "ioc_id": "273",
                        "ioc": "tw",
                        "status": 3,
                        "status_str": "live",
                        "logo": "https://rest.entitysport.com/baseball/assets/competition/1.png"
                    },
                    "venue": ""
                }
            ],
            "total_items": 5,
            "total_pages": 1
        },
        "etag": "2ceb85051326580040c0c98850a8f6cd",
        "modified": "2020-04-24 08:10:26",
        "datetime": "2020-04-24 08:10:26",
        "api_version": "1.0"
    }
    
    

    This API has competition's all matches details.

    Request

    Parameter Value Description
    cid string competition id
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid string match id
    round string match round id details.
    name string match round name details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    result array An array of match result details. see result object reference
    status string Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate string Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team string

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url
    fullname string team name
    abbr string team short name

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Matches List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/matches?token=[ACCESS_TOKEN]"
    

    Using Token and Status parameter:

    curl -X GET "https://rest.entitysport.com/baseball/matches?token=[ACCESS_TOKEN]&status=1"
    

    Using Token, Status and Pagination parameter:

    curl -X GET "https://rest.entitysport.com/baseball/matches?token=[ACCESS_TOKEN]&status=1&per_page=10&paged=1"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "mid": 1,
                    "round": {
                        "round": "",
                        "name": ""
                    },
                    "teams": {
                        "home": {
                            "tid": 1,
                            "tname": "Chinatrust Brothers",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/1.png",
                            "fullname": "Chinatrust Brothers",
                            "abbr": "CTB"
                        },
                        "away": {
                            "tid": 2,
                            "tname": "Rakuten Monkeys",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/5e9f7111a990b.png",
                            "fullname": "Rakuten Monkeys",
                            "abbr": "RM"
                        }
                    },
                    "datestart": "2020-04-22 10:35:00",
                    "dateend": "2020-04-22 14:35:00",
                    "timestampstart": "1587551700",
                    "timestampend": "1587566100",
                    "time": "",
                    "result": {
                        "home": "2",
                        "away": "3",
                        "winner": "away"
                    },
                    "inning": "",
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 3,
                    "verified": "true",
                    "presquad": "true",
                    "attendance": 0,
                    "competition": {
                        "cid": 1,
                        "cname": "CPBL",
                        "startdate": "2020-04-11 00:00:00",
                        "enddate": "2020-10-15 00:00:00",
                        "startdatetimestamp": 1586563200,
                        "endtdatetimestamp": 1602720000,
                        "year": "2020",
                        "category": "Chinese Taipei",
                        "ioc_id": "273",
                        "ioc": "tw",
                        "status": 3,
                        "status_str": "live",
                        "logo": "https://rest.entitysport.com/baseball/assets/competition/1.png"
                    },
                    "venue": ""
                }
            ],
            "total_items": 5,
            "total_pages": 1
        },
        "etag": "2ceb85051326580040c0c98850a8f6cd",
        "modified": "2020-04-24 08:10:26",
        "datetime": "2020-04-24 08:10:26",
        "api_version": "1.0"
    }
    
    

    This API has list of all matches user have access.

    Request

    Parameter Value Description
    status string status code 1 = upcoming, 2 = result, 3 = live, 4 = cancelled.
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    mid string match id
    round string match round id details.
    name string match round name details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    result array An array of match result details. see result object reference
    status string Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate string Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    competition array An array of competition details. see competition object reference
    venue array An array of match venue details. see venue object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team string

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url
    fullname string team name
    abbr string team short name

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Match Info API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/matches/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": 1,
                    "round": {
                        "round": "",
                        "name": ""
                    },
                    "teams": {
                        "home": {
                            "tid": 1,
                            "tname": "Chinatrust Brothers",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/1.png",
                            "fullname": "Chinatrust Brothers",
                            "abbr": "CTB"
                        },
                        "away": {
                            "tid": 2,
                            "tname": "Rakuten Monkeys",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/5e9f7111a990b.png",
                            "fullname": "Rakuten Monkeys",
                            "abbr": "RM"
                        }
                    },
                    "datestart": "2020-04-22 10:35:00",
                    "dateend": "2020-04-22 14:35:00",
                    "timestampstart": "1587551700",
                    "timestampend": "1587566100",
                    "time": "",
                    "result": {
                        "home": "2",
                        "away": "3",
                        "winner": "away"
                    },
                    "inning": "",
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 3,
                    "verified": "true",
                    "presquad": "true",
                    "attendance": 0,
                    "competition": {
                        "cid": 1,
                        "cname": "CPBL",
                        "startdate": "2020-04-11 00:00:00",
                        "enddate": "2020-10-15 00:00:00",
                        "startdatetimestamp": 1586563200,
                        "endtdatetimestamp": 1602720000,
                        "year": "2020",
                        "category": "Chinese Taipei",
                        "ioc_id": "273",
                        "ioc": "tw",
                        "status": 3,
                        "status_str": "live",
                        "logo": "https://rest.entitysport.com/baseball/assets/competition/1.png"
                    },
                    "venue": ""
                },
                "lineup": {
                    "players": {
                        "home": [
                            {
                                "pid": 55,
                                "name": "Chan Tzu Hasien",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 56,
                                "name": "Chen Tzu Hao",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 58,
                                "name": "Chang Chih Hao",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 60,
                                "name": "Chou Szu Chi",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 61,
                                "name": "Wang Wei Chen",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 62,
                                "name": "lin Chih Sheng",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 63,
                                "name": "Wu Tung Jung",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 64,
                                "name": "Chiang Kun yu ",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 72,
                                "name": "Liao Yi Chung",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 82,
                                "name": "Kao Yu chieh ",
                                "shirt": "0",
                                "position": "catcher"
                            }
                        ],
                        "away": [
                            {
                                "pid": 1,
                                "name": "Chen Chen Wei",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 3,
                                "name": "cheng chin",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 6,
                                "name": "Chu YU Hsien",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 7,
                                "name": "Lin Li",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 8,
                                "name": "Chen Chun Hsiu",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 9,
                                "name": "Kuo Yen Wen",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 10,
                                "name": "Lin Cheng fei",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 16,
                                "name": "Ryan Carpenter",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 25,
                                "name": "Lin Huang Yu",
                                "shirt": "0",
                                "position": "catcher"
                            },
                            {
                                "pid": 27,
                                "name": "Liu Shih Hao",
                                "shirt": "0",
                                "position": "catcher"
                            }
                        ]
                    },
                    "substitutes": {
                        "home": [
                            {
                                "pid": 57,
                                "name": "Chen Wen Chieh",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 59,
                                "name": "Lin Shu Yi",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 65,
                                "name": "Yueh Tung Hua",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 66,
                                "name": "Su Wei Ta",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 67,
                                "name": "Pan Chih fang",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 68,
                                "name": "Hsu Chi Hung",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 69,
                                "name": "Esmil Rogers",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 70,
                                "name": "Ariel Miranda",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 71,
                                "name": "Jose De Paula",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 73,
                                "name": "Huang En Shia",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 74,
                                "name": "Lee Chen Chang",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 75,
                                "name": "Tsai Chi Che",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 76,
                                "name": "Wu chun Wei",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 77,
                                "name": "Cheng Kai wen SR",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 78,
                                "name": "Peng Shih Ying ",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 79,
                                "name": "Hsieh Jung Hao",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 80,
                                "name": "Chou Lei ",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 81,
                                "name": "Huang Chun Sheng ",
                                "shirt": "0",
                                "position": "catcher"
                            }
                        ],
                        "away": [
                            {
                                "pid": 4,
                                "name": "Chan Chih Yaho",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 5,
                                "name": "Yu Te Lung",
                                "shirt": "0",
                                "position": "outfielder"
                            },
                            {
                                "pid": 11,
                                "name": "Lin Chih Ping",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 12,
                                "name": "Kuo Yung Wei",
                                "shirt": "0",
                                "position": "infielder"
                            },
                            {
                                "pid": 13,
                                "name": "Wang Yi Cheng",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 14,
                                "name": "Weng Wei Chun",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 15,
                                "name": "Lisalverto Bonnila",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 17,
                                "name": "Elih Villanueva",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 18,
                                "name": "Chen Yu-Hsun",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 19,
                                "name": "Huang Tzu Peng",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 20,
                                "name": "Chiang Kuo Chien",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 21,
                                "name": "Su chun chang",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 22,
                                "name": "Wang Yao Lin",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 23,
                                "name": "Lin Po Yu",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 24,
                                "name": "Lin Yi Hsiang",
                                "shirt": "0",
                                "position": "pitcher"
                            },
                            {
                                "pid": 26,
                                "name": "Liao Chien Fu",
                                "shirt": "0",
                                "position": "catcher"
                            }
                        ]
                    }
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "e97b384c2acbf50c6ef536ae4f0d22ee",
        "modified": "2020-04-24 08:25:42",
        "datetime": "2020-04-24 08:25:42",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match projection, events, commentary, lineup details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    lineup array An array of match lineup details. see lineup object reference

    Match Info Object Reference

    Parameter Value Description
    mid string match id
    round string match round id details.
    name string match round name details.
    teams array An array of match teams details. see teams object reference
    datestart string time string in GMT of match start time
    dateend string time string in GMT of match end time
    timestampstart string timestamp of match start time
    timestampend string timestamp of match end time
    result array An array of match result details. see result object reference
    status string Match status code 3 = live, 2 = result, 1 = upcoming, 4 = canceled
    status_str string Match status string live, result, upcoming,
    gamestate string Match state code
    gamestate_str string Match state string
    verified string true = match score is verified, false = match score is yet be verified.
    presquad string true = match squad is available with managed fantasy credit, false = match squad is don't have managed fantasy credit yet.
    competition array An array of competition details. see competition object reference

    Team Object Reference

    Parameter Value Description
    home array An array of home team details. see home team object reference
    away array An array of away team details. see away team object reference

    Result Object Reference

    Parameter Value Description
    home string home team score
    away string away team score
    winner string winning team string

    Home/Away Team Object Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    logo string team logo url
    fullname string team name
    abbr string team short name

    Competition Object Reference

    Parameter Value Description
    cid string competition id
    cname string competition name/title
    startdate string time string in GMT of competition start date
    enddate string time string in GMT of competition end date
    startdatetimestamp string timestamp of competition start date
    enddatetimestamp string timestamp of competition end date
    year string Season Year
    category string Competition Category
    ioc_id integer IOC id of competition native country
    ioc string IOC 2 letter code of competition native country
    status string Competition status code 3 = live, 2 = completed, 1 = upcoming
    status_str string Competition status string live, completed, upcoming
    logo string Competition Logo URL

    Lineup Object Reference

    Parameter Value Description
    players array array of starting players object details. see home players object reference
    substitutes array array of substitute players object details. see away players object reference

    Lineup Home/Away Object Reference

    Parameter Value Description
    home array array of home players object details. see home players object reference
    away array array of away players object details. see away players object reference

    Player Home/Away Object Reference

    Parameter Value Description
    pid string player id
    name string player position name
    position string player playing positions outfielder, infielder, pitcher, catcher

    Match Fantasy API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/matches/1/fantasy?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "match_info": {
                    "mid": 1,
                    "round": {
                        "round": "",
                        "name": ""
                    },
                    "teams": {
                        "home": {
                            "tid": 1,
                            "tname": "Chinatrust Brothers",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/1.png",
                            "fullname": "Chinatrust Brothers",
                            "abbr": "CTB"
                        },
                        "away": {
                            "tid": 2,
                            "tname": "Rakuten Monkeys",
                            "logo": "https://rest.entitysport.com/baseball/assets/team/5e9f7111a990b.png",
                            "fullname": "Rakuten Monkeys",
                            "abbr": "RM"
                        }
                    },
                    "datestart": "2020-04-22 10:35:00",
                    "dateend": "2020-04-22 14:35:00",
                    "timestampstart": "1587551700",
                    "timestampend": "1587566100",
                    "time": "",
                    "result": {
                        "home": "2",
                        "away": "3",
                        "winner": "away"
                    },
                    "inning": "",
                    "status_str": "result",
                    "status": 2,
                    "gamestate_str": "Ended",
                    "gamestate": 3,
                    "verified": "true",
                    "presquad": "true",
                    "attendance": 0,
                    "competition": {
                        "cid": 1,
                        "cname": "CPBL",
                        "startdate": "2020-04-11 00:00:00",
                        "enddate": "2020-10-15 00:00:00",
                        "startdatetimestamp": 1586563200,
                        "endtdatetimestamp": 1602720000,
                        "year": "2020",
                        "category": "Chinese Taipei",
                        "ioc_id": "273",
                        "ioc": "tw",
                        "status": 3,
                        "status_str": "live",
                        "logo": "https://rest.entitysport.com/baseball/assets/competition/1.png"
                    },
                    "venue": ""
                },
                "fantasy_squad": {
                    "home": [
                        {
                            "pid": 55,
                            "name": "Chan Tzu Hasien",
                            "role": "outfielder",
                            "rating": "15"
                        },
                        {
                            "pid": 56,
                            "name": "Chen Tzu Hao",
                            "role": "outfielder",
                            "rating": "8.5"
                        },
                        {
                            "pid": 57,
                            "name": "Chen Wen Chieh",
                            "role": "outfielder",
                            "rating": "9"
                        },
                        {
                            "pid": 58,
                            "name": "Chang Chih Hao",
                            "role": "outfielder",
                            "rating": "7.5"
                        },
                        {
                            "pid": 59,
                            "name": "Lin Shu Yi",
                            "role": "outfielder",
                            "rating": "6.5"
                        },
                        {
                            "pid": 60,
                            "name": "Chou Szu Chi",
                            "role": "outfielder",
                            "rating": "5.5"
                        },
                        {
                            "pid": 61,
                            "name": "Wang Wei Chen",
                            "role": "infielder",
                            "rating": "12.5"
                        },
                        {
                            "pid": 62,
                            "name": "lin Chih Sheng",
                            "role": "infielder",
                            "rating": "11.5"
                        },
                        {
                            "pid": 63,
                            "name": "Wu Tung Jung",
                            "role": "infielder",
                            "rating": "9.5"
                        },
                        {
                            "pid": 64,
                            "name": "Chiang Kun yu",
                            "role": "infielder",
                            "rating": "9"
                        },
                        {
                            "pid": 65,
                            "name": "Yueh Tung Hua",
                            "role": "infielder",
                            "rating": "8.5"
                        },
                        {
                            "pid": 66,
                            "name": "Su Wei Ta",
                            "role": "infielder",
                            "rating": "8"
                        },
                        {
                            "pid": 67,
                            "name": "Pan Chih fang",
                            "role": "infielder",
                            "rating": "6"
                        },
                        {
                            "pid": 68,
                            "name": "Hsu Chi Hung",
                            "role": "infielder",
                            "rating": "5"
                        },
                        {
                            "pid": 69,
                            "name": "Esmil Rogers",
                            "role": "pitcher",
                            "rating": "18.5"
                        },
                        {
                            "pid": 70,
                            "name": "Ariel Miranda",
                            "role": "pitcher",
                            "rating": "17.5"
                        },
                        {
                            "pid": 71,
                            "name": "Jose De Paula",
                            "role": "pitcher",
                            "rating": "15"
                        },
                        {
                            "pid": 72,
                            "name": "Liao Yi Chung",
                            "role": "pitcher",
                            "rating": "13"
                        },
                        {
                            "pid": 73,
                            "name": "Huang En Shia",
                            "role": "pitcher",
                            "rating": "10"
                        },
                        {
                            "pid": 74,
                            "name": "Lee Chen Chang",
                            "role": "pitcher",
                            "rating": "7.5"
                        },
                        {
                            "pid": 75,
                            "name": "Tsai Chi Che",
                            "role": "pitcher",
                            "rating": "7"
                        },
                        {
                            "pid": 76,
                            "name": "Wu chun Wei",
                            "role": "pitcher",
                            "rating": "7"
                        },
                        {
                            "pid": 77,
                            "name": "Cheng Kai wen SR",
                            "role": "pitcher",
                            "rating": "5.5"
                        },
                        {
                            "pid": 78,
                            "name": "Peng Shih Ying",
                            "role": "pitcher",
                            "rating": "5"
                        },
                        {
                            "pid": 79,
                            "name": "Hsieh Jung Hao",
                            "role": "pitcher",
                            "rating": "5"
                        },
                        {
                            "pid": 80,
                            "name": "Chou Lei",
                            "role": "pitcher",
                            "rating": "5"
                        },
                        {
                            "pid": 81,
                            "name": "Huang Chun Sheng",
                            "role": "catcher",
                            "rating": "6.5"
                        },
                        {
                            "pid": 82,
                            "name": "Kao Yu chieh",
                            "role": "catcher",
                            "rating": "5.5"
                        }
                    ],
                    "away": [
                        {
                            "pid": 1,
                            "name": "Chen Chen Wei",
                            "role": "outfielder",
                            "rating": "16"
                        },
                        {
                            "pid": 2,
                            "name": "Lan Yin Lun",
                            "role": "outfielder",
                            "rating": "9.5"
                        },
                        {
                            "pid": 3,
                            "name": "cheng chin",
                            "role": "outfielder",
                            "rating": "9"
                        },
                        {
                            "pid": 4,
                            "name": "Chan Chih Yaho",
                            "role": "outfielder",
                            "rating": "6"
                        },
                        {
                            "pid": 5,
                            "name": "Yu Te Lung",
                            "role": "outfielder",
                            "rating": "5.5"
                        },
                        {
                            "pid": 6,
                            "name": "Chu YU Hsien",
                            "role": "infielder",
                            "rating": "17.5"
                        },
                        {
                            "pid": 7,
                            "name": "Lin Li",
                            "role": "infielder",
                            "rating": "15.5"
                        },
                        {
                            "pid": 8,
                            "name": "Chen Chun Hsiu",
                            "role": "infielder",
                            "rating": "10.5"
                        },
                        {
                            "pid": 9,
                            "name": "Kuo Yen Wen",
                            "role": "infielder",
                            "rating": "10"
                        },
                        {
                            "pid": 10,
                            "name": "Lin Cheng fei",
                            "role": "infielder",
                            "rating": "9"
                        },
                        {
                            "pid": 11,
                            "name": "Lin Chih Ping",
                            "role": "infielder",
                            "rating": "5.5"
                        },
                        {
                            "pid": 12,
                            "name": "Kuo Yung Wei",
                            "role": "infielder",
                            "rating": "5"
                        },
                        {
                            "pid": 13,
                            "name": "Wang Yi Cheng",
                            "role": "pitcher",
                            "rating": "15"
                        },
                        {
                            "pid": 14,
                            "name": "Weng Wei Chun",
                            "role": "pitcher",
                            "rating": "12.5"
                        },
                        {
                            "pid": 15,
                            "name": "Lisalverto Bonnila",
                            "role": "pitcher",
                            "rating": "11.5"
                        },
                        {
                            "pid": 16,
                            "name": "Ryan Carpenter",
                            "role": "pitcher",
                            "rating": "9"
                        },
                        {
                            "pid": 17,
                            "name": "Elih Villanueva",
                            "role": "pitcher",
                            "rating": "8"
                        },
                        {
                            "pid": 18,
                            "name": "Chen Yu-Hsun",
                            "role": "pitcher",
                            "rating": "6.5"
                        },
                        {
                            "pid": 19,
                            "name": "Huang Tzu Peng",
                            "role": "pitcher",
                            "rating": "6.5"
                        },
                        {
                            "pid": 20,
                            "name": "Chiang Kuo Chien",
                            "role": "pitcher",
                            "rating": "6"
                        },
                        {
                            "pid": 21,
                            "name": "Su chun chang",
                            "role": "pitcher",
                            "rating": "5.5"
                        },
                        {
                            "pid": 22,
                            "name": "Wang Yao Lin",
                            "role": "pitcher",
                            "rating": "5.5"
                        },
                        {
                            "pid": 23,
                            "name": "Lin Po Yu",
                            "role": "pitcher",
                            "rating": "5.5"
                        },
                        {
                            "pid": 24,
                            "name": "Lin Yi Hsiang",
                            "role": "pitcher",
                            "rating": "5"
                        },
                        {
                            "pid": 25,
                            "name": "Lin Huang Yu",
                            "role": "catcher",
                            "rating": "10"
                        },
                        {
                            "pid": 26,
                            "name": "Liao Chien Fu",
                            "role": "catcher",
                            "rating": "8.5"
                        },
                        {
                            "pid": 27,
                            "name": "Liu Shih Hao",
                            "role": "catcher",
                            "rating": "5"
                        }
                    ]
                },
                "fantasy_points": {
                    "home": [
                        {
                            "pid": "72",
                            "name": "Liao Yi Chung",
                            "role": "pitcher",
                            "fantasy_credit": "13",
                            "point": "20",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "21",
                            "strikeout": "14",
                            "earnedrun": "-6",
                            "hitallowed": "-9",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "82",
                            "name": "Kao Yu chieh ",
                            "role": "catcher",
                            "fantasy_credit": "5.5",
                            "point": "0",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "55",
                            "name": "Chan Tzu Hasien",
                            "role": "outfielder",
                            "fantasy_credit": "15",
                            "point": "0",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "56",
                            "name": "Chen Tzu Hao",
                            "role": "outfielder",
                            "fantasy_credit": "8.5",
                            "point": "4",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "4",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "58",
                            "name": "Chang Chih Hao",
                            "role": "outfielder",
                            "fantasy_credit": "7.5",
                            "point": "4",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "60",
                            "name": "Chou Szu Chi",
                            "role": "outfielder",
                            "fantasy_credit": "5.5",
                            "point": "7",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "3",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "61",
                            "name": "Wang Wei Chen",
                            "role": "infielder",
                            "fantasy_credit": "12.5",
                            "point": "10",
                            "single": "4",
                            "double": "6",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "62",
                            "name": "lin Chih Sheng",
                            "role": "infielder",
                            "fantasy_credit": "11.5",
                            "point": "20",
                            "single": "8",
                            "double": "6",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "3",
                            "runscored": "3",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "63",
                            "name": "Wu Tung Jung",
                            "role": "infielder",
                            "fantasy_credit": "9.5",
                            "point": "0",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "64",
                            "name": "Chiang Kun yu ",
                            "role": "infielder",
                            "fantasy_credit": "9",
                            "point": "8",
                            "single": "8",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "77",
                            "name": "Cheng Kai wen SR",
                            "role": "pitcher",
                            "fantasy_credit": "5.5",
                            "point": "5",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "3",
                            "strikeout": "4",
                            "earnedrun": "0",
                            "hitallowed": "-1",
                            "baseonballpicther": "-1"
                        },
                        {
                            "pid": "65",
                            "name": "Yueh Tung Hua",
                            "role": "infielder",
                            "fantasy_credit": "8.5",
                            "point": "11",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "3",
                            "baseonballshitter": "4",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "74",
                            "name": "Lee Chen Chang",
                            "role": "pitcher",
                            "fantasy_credit": "7.5",
                            "point": "4",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "3",
                            "strikeout": "2",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "-1"
                        },
                        {
                            "pid": "76",
                            "name": "Wu chun Wei",
                            "role": "pitcher",
                            "fantasy_credit": "7",
                            "point": "4",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "3",
                            "strikeout": "4",
                            "earnedrun": "0",
                            "hitallowed": "-3",
                            "baseonballpicther": "0"
                        }
                    ],
                    "away": [
                        {
                            "pid": "1",
                            "name": "Chen Chen Wei",
                            "role": "outfielder",
                            "fantasy_credit": "16",
                            "point": "4",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "3",
                            "name": "cheng chin",
                            "role": "outfielder",
                            "fantasy_credit": "9",
                            "point": "4",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "7",
                            "name": "Lin Li",
                            "role": "infielder",
                            "fantasy_credit": "15.5",
                            "point": "19",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "3",
                            "baseonballshitter": "4",
                            "stolenbase": "8",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "25",
                            "name": "Lin Huang Yu",
                            "role": "catcher",
                            "fantasy_credit": "10",
                            "point": "11",
                            "single": "8",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "3",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "10",
                            "name": "Lin Cheng fei",
                            "role": "infielder",
                            "fantasy_credit": "9",
                            "point": "4",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "27",
                            "name": "Liu Shih Hao",
                            "role": "catcher",
                            "fantasy_credit": "5",
                            "point": "11",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "3",
                            "runscored": "0",
                            "baseonballshitter": "4",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "6",
                            "name": "Chu YU Hsien",
                            "role": "infielder",
                            "fantasy_credit": "17.5",
                            "point": "4",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "8",
                            "name": "Chen Chun Hsiu",
                            "role": "infielder",
                            "fantasy_credit": "10.5",
                            "point": "25",
                            "single": "16",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "6",
                            "runscored": "3",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "9",
                            "name": "Kuo Yen Wen",
                            "role": "infielder",
                            "fantasy_credit": "10",
                            "point": "4",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "16",
                            "name": "Ryan Carpenter",
                            "role": "pitcher",
                            "fantasy_credit": "9",
                            "point": "28",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "20",
                            "strikeout": "14",
                            "earnedrun": "0",
                            "hitallowed": "-5",
                            "baseonballpicther": "-1"
                        },
                        {
                            "pid": "19",
                            "name": "Huang Tzu Peng",
                            "role": "pitcher",
                            "fantasy_credit": "6.5",
                            "point": "-3",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "3",
                            "strikeout": "2",
                            "earnedrun": "-6",
                            "hitallowed": "-1",
                            "baseonballpicther": "-1"
                        },
                        {
                            "pid": "18",
                            "name": "Chen Yu-Hsun",
                            "role": "pitcher",
                            "fantasy_credit": "6.5",
                            "point": "2",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "3",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "-1",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "22",
                            "name": "Wang Yao Lin",
                            "role": "pitcher",
                            "fantasy_credit": "5.5",
                            "point": "1",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "4",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "-3",
                            "baseonballpicther": "0"
                        }
                    ]
                },
                "playerstats": {
                    "home": [
                        {
                            "pid": "72",
                            "name": "Liao Yi Chung",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "7",
                            "strikeout": "7",
                            "earnedrun": "2",
                            "hitallowed": "9",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "82",
                            "name": "Kao Yu chieh ",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "55",
                            "name": "Chan Tzu Hasien",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "56",
                            "name": "Chen Tzu Hao",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "1",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "58",
                            "name": "Chang Chih Hao",
                            "teamtype": "home",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "60",
                            "name": "Chou Szu Chi",
                            "teamtype": "home",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "1",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "61",
                            "name": "Wang Wei Chen",
                            "teamtype": "home",
                            "single": "1",
                            "double": "1",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "62",
                            "name": "lin Chih Sheng",
                            "teamtype": "home",
                            "single": "2",
                            "double": "1",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "1",
                            "runscored": "1",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "63",
                            "name": "Wu Tung Jung",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "64",
                            "name": "Chiang Kun yu ",
                            "teamtype": "home",
                            "single": "2",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "77",
                            "name": "Cheng Kai wen SR",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "1",
                            "strikeout": "2",
                            "earnedrun": "0",
                            "hitallowed": "1",
                            "baseonballpicther": "1"
                        },
                        {
                            "pid": "65",
                            "name": "Yueh Tung Hua",
                            "teamtype": "home",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "1",
                            "baseonballshitter": "1",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "74",
                            "name": "Lee Chen Chang",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "1",
                            "strikeout": "1",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "1"
                        },
                        {
                            "pid": "76",
                            "name": "Wu chun Wei",
                            "teamtype": "home",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "1",
                            "strikeout": "2",
                            "earnedrun": "0",
                            "hitallowed": "3",
                            "baseonballpicther": "0"
                        }
                    ],
                    "away": [
                        {
                            "pid": "1",
                            "name": "Chen Chen Wei",
                            "teamtype": "away",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "3",
                            "name": "cheng chin",
                            "teamtype": "away",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "7",
                            "name": "Lin Li",
                            "teamtype": "away",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "1",
                            "baseonballshitter": "1",
                            "stolenbase": "1",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "25",
                            "name": "Lin Huang Yu",
                            "teamtype": "away",
                            "single": "2",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "1",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "10",
                            "name": "Lin Cheng fei",
                            "teamtype": "away",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "27",
                            "name": "Liu Shih Hao",
                            "teamtype": "away",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "1",
                            "runscored": "0",
                            "baseonballshitter": "1",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "6",
                            "name": "Chu YU Hsien",
                            "teamtype": "away",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "8",
                            "name": "Chen Chun Hsiu",
                            "teamtype": "away",
                            "single": "4",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "2",
                            "runscored": "1",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "9",
                            "name": "Kuo Yen Wen",
                            "teamtype": "away",
                            "single": "1",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "0",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "0",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "16",
                            "name": "Ryan Carpenter",
                            "teamtype": "away",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "6.2",
                            "strikeout": "7",
                            "earnedrun": "0",
                            "hitallowed": "5",
                            "baseonballpicther": "1"
                        },
                        {
                            "pid": "19",
                            "name": "Huang Tzu Peng",
                            "teamtype": "away",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "1",
                            "strikeout": "1",
                            "earnedrun": "2",
                            "hitallowed": "1",
                            "baseonballpicther": "1"
                        },
                        {
                            "pid": "18",
                            "name": "Chen Yu-Hsun",
                            "teamtype": "away",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "1",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "1",
                            "baseonballpicther": "0"
                        },
                        {
                            "pid": "22",
                            "name": "Wang Yao Lin",
                            "teamtype": "away",
                            "single": "0",
                            "double": "0",
                            "triple": "0",
                            "homerun": "0",
                            "runsbattedin": "0",
                            "runscored": "0",
                            "baseonballshitter": "0",
                            "stolenbase": "0",
                            "inningpitched": "1.1",
                            "strikeout": "0",
                            "earnedrun": "0",
                            "hitallowed": "3",
                            "baseonballpicther": "0"
                        }
                    ]
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "34f980a07c4290f36098e6717e41552d",
        "modified": "2020-04-24 08:42:12",
        "datetime": "2020-04-24 08:42:12",
        "api_version": "1.0"
    }
    
    

    This API contains a single match info, match team and player stats details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    match_info array An array of match details. see match_info object reference
    fantasy_squad array An array of home/away team players role and credit details. see fantasy squad object reference
    fantasy_points array An array of player match fantasy points details. see player fantasy points object reference
    playerstats array An array of player match fantasy points details. see player player stats object reference

    Match Fantasy Squad Object Reference

    Parameter Value Description
    pid integer player id
    name string player name
    role string player fantasy playing role
    rating string player fantasy credit

    Fantasy Points Reference

    Parameter Value Description
    pid string player id
    name string player name
    role string player fantasy playing role
    fantasy_credit string player fantasy credit
    point string total fantasy points of player
    single string hit for 1st base point
    double string hit for 2nd base point
    triple string hit for 3rd base point
    homerun string number of home runs hit point
    runsbattedin string rbi points
    runscored string runs scored points
    baseonballshitter string walk on ball points for hitter
    stolenbase string base stolen points
    inningpitched string number of innings pitched points
    strikeout string strike out points
    earnedrun string runs conceded as pitcher points
    hitallowed string number of hits conceded points for pitcher
    baseonballpicther string balls walk points as pitcher

    Fantasy Player Stats Reference

    Parameter Value Description
    pid string player id
    name string player name
    teamtype string player team type home or away
    single string Number of hit for 1st base
    double string Number of hit for 2nd base
    triple string Number ofhit for 3rd base
    homerun string number of home runs hit
    runsbattedin string rbi stats
    runscored string Number of runs scored
    baseonballshitter string walk on ball for hitter
    stolenbase string Number of base stolen
    inningpitched string number of innings pitched
    strikeout string Number of strike out
    earnedrun string Number of runs conceded as pitcher
    hitallowed string Number of hits conceded as pitcher
    baseonballpicther string balls walk as pitcher

    Teams List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/teams?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "1",
                    "tname": "Chinatrust Brothers",
                    "fullname": "Chinatrust Brothers",
                    "abbr": "CTB",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "",
                    "website": "",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://rest.entitysport.com/baseball/assets/team/1.png",
                    "team_url": "team/1/info"
                },
                {
                    "tid": "2",
                    "tname": "Rakuten Monkeys",
                    "fullname": "Rakuten Monkeys",
                    "abbr": "RM",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "",
                    "website": "",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://rest.entitysport.com/baseball/assets/team/5e9f7111a990b.png",
                    "team_url": "team/2/info"
                },
                {
                    "tid": "3",
                    "tname": "Fubon Guardians",
                    "fullname": "Fubon Guardians",
                    "abbr": "FBG",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "",
                    "website": "",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://rest.entitysport.com/baseball/assets/team/5e9f71699a2ef.png",
                    "team_url": "team/3/info"
                },
                {
                    "tid": "4",
                    "tname": "7-Eleven Lions",
                    "fullname": "7-Eleven Lions",
                    "abbr": "UL",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "",
                    "website": "",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://rest.entitysport.com/baseball/assets/team/5e9f71a3898c8.png",
                    "team_url": "team/4/info"
                }
            ],
            "total_items": "4",
            "total_pages": 1
        },
        "etag": "96a64635ca1221b2f3c54452ed2f4a27",
        "modified": "2020-04-24 08:58:36",
        "datetime": "2020-04-24 08:58:36",
        "api_version": "1.0"
    }
    
    

    This API lists all the teams available to access.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    fullname string team name
    abbr string team short name
    iscountry string true if team is national team, false if not
    isclub string true if team is club team, false if not
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    instagram string instagram hastag
    teamlogo string team logo url
    team_url string team info url
    team_matches_url string team matches list url

    Team Info API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/team/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "tid": "1",
                    "tname": "Chinatrust Brothers",
                    "fullname": "Chinatrust Brothers",
                    "abbr": "CTB",
                    "iscountry": "false",
                    "isclub": "true",
                    "founded": "",
                    "website": "",
                    "twitter": "",
                    "hashtag": "",
                    "teamlogo": "https://rest.entitysport.com/baseball/assets/team/1.png",
                    "squads": [
                        {
                            "pid": "55",
                            "fullname": "Chan Tzu Hasien",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "outfielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "15"
                        },
                        {
                            "pid": "56",
                            "fullname": "Chen Tzu Hao",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "outfielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "8.5"
                        },
                        {
                            "pid": "57",
                            "fullname": "Chen Wen Chieh",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "outfielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "9"
                        },
                        {
                            "pid": "58",
                            "fullname": "Chang Chih Hao",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "outfielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "7.5"
                        },
                        {
                            "pid": "59",
                            "fullname": "Lin Shu Yi",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "outfielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "6.5"
                        },
                        {
                            "pid": "60",
                            "fullname": "Chou Szu Chi",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "outfielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "5.5"
                        },
                        {
                            "pid": "61",
                            "fullname": "Wang Wei Chen",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "12.5"
                        },
                        {
                            "pid": "62",
                            "fullname": "lin Chih Sheng",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "11.5"
                        },
                        {
                            "pid": "63",
                            "fullname": "Wu Tung Jung",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "9.5"
                        },
                        {
                            "pid": "64",
                            "fullname": "Chiang Kun yu",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "9"
                        },
                        {
                            "pid": "65",
                            "fullname": "Yueh Tung Hua",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "8.5"
                        },
                        {
                            "pid": "66",
                            "fullname": "Su Wei Ta",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "8"
                        },
                        {
                            "pid": "67",
                            "fullname": "Pan Chih fang",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "6"
                        },
                        {
                            "pid": "68",
                            "fullname": "Hsu Chi Hung",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "infielder",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "5"
                        },
                        {
                            "pid": "69",
                            "fullname": "Esmil Rogers",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "18.5"
                        },
                        {
                            "pid": "70",
                            "fullname": "Ariel Miranda",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "17.5"
                        },
                        {
                            "pid": "71",
                            "fullname": "Jose De Paula",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "15"
                        },
                        {
                            "pid": "72",
                            "fullname": "Liao Yi Chung",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "13"
                        },
                        {
                            "pid": "73",
                            "fullname": "Huang En Shia",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "10"
                        },
                        {
                            "pid": "74",
                            "fullname": "Lee Chen Chang",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "7.5"
                        },
                        {
                            "pid": "75",
                            "fullname": "Tsai Chi Che",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "7"
                        },
                        {
                            "pid": "76",
                            "fullname": "Wu chun Wei",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "7"
                        },
                        {
                            "pid": "77",
                            "fullname": "Cheng Kai wen SR",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "5.5"
                        },
                        {
                            "pid": "78",
                            "fullname": "Peng Shih Ying",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "5"
                        },
                        {
                            "pid": "79",
                            "fullname": "Hsieh Jung Hao",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "5"
                        },
                        {
                            "pid": "80",
                            "fullname": "Chou Lei",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "pitcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "5"
                        },
                        {
                            "pid": "81",
                            "fullname": "Huang Chun Sheng",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "catcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "6.5"
                        },
                        {
                            "pid": "82",
                            "fullname": "Kao Yu chieh",
                            "birthdate": "",
                            "nationality": {
                                "iocid": "273",
                                "name": "Chinese Taipei",
                                "ioc": "tp"
                            },
                            "position": "catcher",
                            "height": "",
                            "weight": "",
                            "fantasyplayerrating": "5.5"
                        }
                    ]
                }
            ],
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "580d47cee7dc9bc552f4f6441d232cf2",
        "modified": "2020-04-24 09:01:24",
        "datetime": "2020-04-24 09:01:24",
        "api_version": "1.0"
    }
    
    

    This API contains team info and squad/roaster player details.

    Request

    Parameter Value Description
    tid string team id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    tid integer team id
    tname string team name
    fullname string team name
    abbr string team short name
    iscountry string true if team is national team, false if not
    isclub string true if team is club team, false if not
    founded string year of team founded
    website string website url of team website
    twitter string twitter account name
    instagram string instagram hastag
    teamlogo string team logo url
    squads array An array of team player details. see squads object reference

    Squads Object Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality object country details
    positionname string player playing position name
    height string player height in centimeters
    weight string player weight in kg
    fantasyplayerrating string player fantasy credit

    Player List API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/players?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": [
                {
                    "pid": "1",
                    "fullname": "Chen Chen Wei",
                    "birthdate": "",
                    "nationality": {
                        "iocid": "273",
                        "name": "Chinese Taipei",
                        "ioc": "tp"
                    },
                    "position": "outfielder",
                    "height": "",
                    "weight": "",
                    "fantasyplayerrating": "16"
                }
            ],
            "total_items": 111,
            "total_pages": 3
        },
        "etag": "70b6bbff53f9a58e791917a516334451",
        "modified": "2020-04-24 09:05:23",
        "datetime": "2020-04-24 09:05:23",
        "api_version": "1.0"
    }
    
    

    This API contains list of player details.

    Request

    Parameter Value Description
    token {ACCESS_TOKEN} API Access token
    per_page Number Number of competition to list in each API request
    paged Number Page Number for request

    Response

    Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality object country details
    positionname string player playing position name
    height string player height in centimeters
    weight string player weight in kg
    fantasyplayerrating string player fantasy credit

    Player Profile API

    Using Token parameter:

    curl -X GET "https://rest.entitysport.com/baseball/player/1/info?token=[ACCESS_TOKEN]"
    

    The above command returns JSON structured like this:

    
    {
        "status": "ok",
        "response": {
            "items": {
                "player_info": {
                    "pid": "1",
                    "fullname": "Chen Chen Wei",
                    "birthdate": "",
                    "nationality": {
                        "iocid": "273",
                        "name": "Chinese Taipei",
                        "ioc": "tp"
                    },
                    "position": "outfielder",
                    "height": "",
                    "weight": "",
                    "birthplace": "",
                    "birthcountry": "",
                    "experience": ""
                }
            },
            "total_items": 1,
            "total_pages": 1
        },
        "etag": "1500d189e20ef90241428e2e5ee806b0",
        "modified": "2020-04-24 09:06:48",
        "datetime": "2020-04-24 09:06:48",
        "api_version": "1.0"
    }
    
    

    This API contains player profile and career statistic details.

    Request

    Parameter Value Description
    pid string player id
    token {ACCESS_TOKEN} API Access token

    Response

    Reference

    Parameter Value Description
    player_info array array of player profile details. see player_info object reference

    Player Profile Object Reference

    Parameter Value Description
    pid string player id
    fullname string Player full name
    birthdate string Player Birthdate format - dd/mm/yy
    nationality object country details
    positionname string player playing position name
    height string player height in centimeters
    weight string player weight in kg

    Match status Reference

    Code Description
    1 Upcoming
    2 Result
    3 Live
    4 Canceled

    Match Game State Reference

    Code Description
    1 Not started
    2 Live
    3 Ended

    Playing Position Reference

    Name Description
    Name Outfielder
    Name Infiedler
    Name Pitcher
    Name Catcher